Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix temurin updater #1701

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading