Skip to content

Commit 34ce5f8

Browse files
author
Jeremy D. Young
committed
DEVHUB-65 - Reordering setup and checkout
1 parent c05b1b7 commit 34ce5f8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release-sdk.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
release-sdk:
2424
runs-on: ubuntu-latest
2525
steps:
26+
- name: Checkout SDK branch
27+
uses: actions/checkout@v4
28+
with:
29+
ref: ${{ inputs.branch }}
30+
path: ${{ github.workspace }}
31+
2632
- name: Set up JDK 21
2733
uses: actions/setup-java@v4
2834
with:
@@ -35,14 +41,8 @@ jobs:
3541
gpg-passphrase: GPG_PASSPHRASE
3642
settings-path: ${{ github.workspace }}
3743

38-
- name: Checkout SDK branch
39-
uses: actions/checkout@v4
40-
with:
41-
ref: ${{ inputs.branch }}
42-
path: ${{ github.workspace }}
43-
4444
- name: Release SDK
45-
working-directory: code
45+
working-directory: ${{ github.workspace }}/code
4646
env:
4747
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
4848
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)