Skip to content

Commit

Permalink
Fix temurin updater
Browse files Browse the repository at this point in the history
Signed-off-by: Appu Goundan <[email protected]>
  • Loading branch information
loosebazooka committed Oct 23, 2024
1 parent 3153a4d commit 17a4e24
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/update-temurin-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Update snapshots
run: ./knife update-java-archives

- name: Create commits
id: create-commits
- name: Check for changes
id: check-changes
run: |
git status
if [[ $(git status --porcelain) ]]; then
Expand All @@ -32,7 +32,15 @@ jobs:
echo "No changes detected"
exit 0
fi
- name: Run update lockfile
if: env.DISTROLESS_DIFF
run: bazel mod deps --lockfile_mode=update

- name: Create commits
if: env.DISTROLESS_DIFF
id: create commits
run: |
git checkout -b update-java-archives
# Set identity.
Expand All @@ -44,10 +52,6 @@ jobs:
git commit -s -m "Bumping temurin archives to latest stable versions"
git push --force origin HEAD
- name: Run update lockfile
if: env.DISTROLESS_DIFF
run: bazel mod deps --lockfile_mode=update

- name: Create Pull Request
if: env.DISTROLESS_DIFF
env:
Expand Down

0 comments on commit 17a4e24

Please sign in to comment.