Skip to content

Commit 90b3572

Browse files
authored
Update deploy.yml to initialise Git in separate step
[skip ci] Signed-off-by: Ashley <73482956+ascopes@users.noreply.github.com>
1 parent 3520b20 commit 90b3572

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@ jobs:
4747
gpg-passphrase: GPG_PASSPHRASE
4848
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
4949

50-
- name: Create Maven Central Release
51-
shell: bash
50+
- name: Configure Git
5251
run: |-
5352
git config user.name '${{ github.actor }}'
5453
git config user.email '${{ github.actor }}@users.noreply.github.com'
5554
55+
- name: Create Maven Central Release
56+
shell: bash
57+
run: |-
5658
if [[ '${{ inputs.version }}' == "" ]]; then
5759
release_version="$(./mvnw -B help:evaluate -Dexpression=project.version -q -DforceStdout | sed 's/-SNAPSHOT//g')"
5860
else

0 commit comments

Comments
 (0)