Pass sdist output to the upload command
All checks were successful
Build / audit (push) Successful in 16s
Build / test (push) Successful in 6m26s
Build / doc (push) Successful in 5m28s

This commit is contained in:
2024-07-25 12:35:28 +02:00
parent 1c4584abdd
commit 9b11300d23
3 changed files with 9 additions and 31 deletions

View File

@ -7,17 +7,11 @@ on:
jobs:
release:
runs-on: haskell
runs-on: buildenv
steps:
- name: Set up environment
run: |
apt-get update -y
apt-get upgrade -y
apt-get install -y nodejs pkg-config
- uses: actions/checkout@v4
- name: Upload a candidate
env:
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}
run: |
cabal sdist
cabal upload --username belka --password ${HACKAGE_PASSWORD}
cabal sdist | awk -f .gitea/deploy.awk