Skip to content

Commit

Permalink
Use Ninja versions as tags for ninja publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbeckford committed Oct 2, 2024
1 parent 3db956b commit 12b9143
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ninja-build-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
contents: write
runs-on: ubuntu-latest
needs: build
# We never want the DkCoder version numbers to conflict with the Ninja releases.
# So use tags that are real Ninja versions. Example: ninja-1.12.1
if: startsWith(github.ref, 'refs/tags/ninja-')
steps:
- name: Download ninja binaries
uses: actions/download-artifact@v4
Expand All @@ -82,7 +85,6 @@ jobs:
merge-multiple: true
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
ninja-linux_x86_64
Expand Down

0 comments on commit 12b9143

Please sign in to comment.