Skip to content

Commit

Permalink
Only take tags from jdk-24 lineage
Browse files Browse the repository at this point in the history
  • Loading branch information
earthling-amzn authored Jul 12, 2024
1 parent be39086 commit 97e6426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/merge-from-upstream-tip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
git remote add upstream https://github.com/openjdk/jdk.git
git fetch upstream
echo "latest=$(git tag --list --sort=-creatordate | head -1)" >> "$GITHUB_OUTPUT"
echo "latest=$(git tag --list --sort=-creatordate | grep jdk-24 | head -1)" >> "$GITHUB_OUTPUT"
- name: Reset the default branch with latest tag
run: |
git reset --hard ${{ steps.latest-tag.outputs.latest }}
Expand Down

0 comments on commit 97e6426

Please sign in to comment.