Skip to content

Commit

Permalink
Only release linux for gcc+latest (fixes #837)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Feb 25, 2024
1 parent e896f50 commit c94fd88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ jobs:
- name: Upload a Build Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: >
startsWith(github.ref, 'refs/tags/') &&
(!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest'))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ jobs:

- name: Upload a Build Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: >
startsWith(github.ref, 'refs/tags/') &&
(!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest'))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit c94fd88

Please sign in to comment.