Skip to content

Commit

Permalink
Java setup must be after checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 12, 2023
1 parent da7b890 commit 428fd29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pass-java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
RELEASE: ${{ inputs.releaseversion }}
NEXT: ${{ inputs.nextversion }}
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
path: main

- name: Setup Java & Maven
uses: actions/setup-java@v3
with:
Expand All @@ -29,11 +34,6 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Checkout main
uses: actions/checkout@v3
with:
path: main

- name: Get the artifact from the main POM
working-directory: main
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
RELEASE: ${{ inputs.releaseversion }}
NEXT: ${{ inputs.nextversion }}
steps:
- name: Checkout latest code
uses: actions/checkout@v3

- name: Setup Java & Maven
uses: actions/setup-java@v3
with:
Expand All @@ -39,9 +42,6 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Checkout latest code
uses: actions/checkout@v3

- name: Config git user
run: |
git config user.name ${{ github.actor }}
Expand Down

0 comments on commit 428fd29

Please sign in to comment.