Skip to content

Commit ba9207a

Browse files
committed
CI: Restrict GitHub Releases to GHC 8.10.3
1 parent be9d6a3 commit ba9207a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
uses: softprops/action-gh-release@v1
8989
env:
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
if: startsWith(github.ref, 'refs/tags/')
91+
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.ghc == '8.10.3' }}
9292
with:
9393
files: threadscope.${{ matrix.os }}.ghc-${{ matrix.ghc }}.gz
9494
draft: false
@@ -145,7 +145,7 @@ jobs:
145145
uses: softprops/action-gh-release@v1
146146
env:
147147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148-
if: startsWith(github.ref, 'refs/tags/')
148+
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.ghc == '8.10.3' }}
149149
with:
150150
files: threadscope.${{ matrix.os }}.ghc-${{ matrix.ghc }}.zip
151151
draft: false

0 commit comments

Comments
 (0)