mirror of
https://github.com/tfausak/witch.git
synced 2024-11-23 00:06:27 +03:00
Automatically upload releases to Hackage
This commit is contained in:
parent
6c4d5a2d7a
commit
0e10c73247
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -38,9 +38,5 @@ jobs:
|
||||
path: dist-newstyle/sdist/witch-*.tar.gz
|
||||
name: witch-${{ github.sha }}.tar.gz
|
||||
- run: cabal check
|
||||
- run: echo '${{ toJson(github.event) }}'
|
||||
- run: echo '${{ github.event_name }}'
|
||||
- run: echo '${{ github.event_path }}'
|
||||
- run: echo '${{ github.ref }}'
|
||||
# - if: false
|
||||
# run: cabal upload --publish --username '${{ secrets.HACKAGE_USERNAME }}' --password '${{ secrets.HACKAGE_PASSWORD }}' "dist-newstyle/sdist/witch-*.tar.gz"
|
||||
- if: github.event_name == 'release'
|
||||
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