diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edfc89b..ceef20c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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