mirror of
https://github.com/tfausak/witch.git
synced 2024-11-23 00:06:27 +03:00
Only upload package once
This commit is contained in:
parent
015032b28b
commit
6e1ffb6ff2
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -42,5 +42,5 @@ jobs:
|
||||
path: dist-newstyle/sdist/witch-*.tar.gz
|
||||
name: witch-${{ github.sha }}.tar.gz
|
||||
- run: cabal check
|
||||
- if: github.event_name == 'release'
|
||||
- if: github.event_name == 'release' && matrix.os == 'ubuntu-18.04' && matrix.ghc == '8.10.2'
|
||||
run: cabal upload --publish --username '${{ secrets.HACKAGE_USERNAME }}' --password '${{ secrets.HACKAGE_PASSWORD }}' dist-newstyle/sdist/witch-*.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user