Skip to content

Commit

Permalink
ci: checkout tag when building api (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr authored Jul 8, 2024
1 parent 016583c commit 68784da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Checkout tag
if: needs.semantic-release.outputs.new_release_version != ''
uses: actions/checkout@v4
with:
persist-credentials: false
ref: v${{ needs.semantic-release.outputs.new_release_version }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit 68784da

Please sign in to comment.