Skip to content

Commit

Permalink
Fix broken GitHub action tag fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Oct 27, 2023
1 parent ff96e86 commit 5f2d61e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_houdini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3
- name: Switch to latest release tag
run: |
git fetch --all --tags
git fetch --all --tags --force
latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1)
git checkout tags/$latest_release_tag
- name: Install system packages
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
uses: actions/checkout@v3
- name: Switch to latest release tag
run: |
git fetch --all --tags
git fetch --all --tags --force
$latest_release_tag=git tag -l --sort=-version:refname v* | select -first 1
git checkout tags/$latest_release_tag
- name: Install system packages
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
path: artifacts
- name: Upload artifact as release asset
run: |
git fetch --all --tags
git fetch --all --tags --force
latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1)
gh release upload $latest_release_tag artifacts/*.zip --clobber
env:
Expand Down

0 comments on commit 5f2d61e

Please sign in to comment.