Skip to content

Commit

Permalink
Pull correct tag in master
Browse files Browse the repository at this point in the history
  • Loading branch information
wvangeit committed Jul 30, 2024
1 parent 0a3ab9e commit b252e1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ jobs:
needs: tag
steps:
- uses: actions/checkout@v4
if: github.ref != 'refs/heads/master'
with:
fetch-depth: 0
- uses: actions/checkout@v4
if: github.ref == 'refs/heads/master'
with:
fetch-depth: 0
ref: ${{ needs.tag.outputs.new_tag }}
- name: Set up sccache
uses: mozilla-actions/[email protected]
- name: Set up Python
Expand Down Expand Up @@ -73,6 +79,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ needs.tag.outputs.new_tag }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit b252e1e

Please sign in to comment.