Skip to content

Commit

Permalink
ci: checkout tag when main
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Dec 31, 2022
1 parent 8dd91a7 commit 1bd1161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: ./.github/actions/output-latest-tag
id: latest-tag
- name: Checkout a latest tag
if: ${{ github.ref == 'refs/heads/main' }}
run: git checkout ${{ steps.latest-tag.outputs.latest-tag }}
- name: Setup Java & Gradle
uses: ./.github/actions/setup
Expand Down

0 comments on commit 1bd1161

Please sign in to comment.