Skip to content

Commit

Permalink
remove upload package candidate step lol
Browse files Browse the repository at this point in the history
  • Loading branch information
minimapletinytools committed Dec 30, 2023
1 parent ac69454 commit 52fa43b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ jobs:
- name: Run tests
run: cabal test all --enable-tests

- name: Upload package candidate to hackage
uses: haskell-actions/hackage-publish@v1
with:
hackageToken: ${{ secrets.HACKAGE_AUTH_TOKEN }}
packagesPath: ${{ runner.temp }}/packages
docsPath: ${{ runner.temp }}/docs
publish: false

parse-cabal-file:
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.2.5'
cabal-version: '3.2'
cabal-version: '3.6.2.0-p1'

- name: Cache
uses: actions/cache@v3
Expand All @@ -39,16 +39,19 @@ jobs:
- name: Build
run: cabal build all

- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "release.tar.gz"
# UNTESTED STUFF BELOW HERE
- name: Run cabal sdist
run: cabal sdist --output-directory=${{ runner.temp }}/packages

#- name: Release
# uses: ncipollo/release-action@v1
# with:
# artifacts: "release.tar.gz"

- name: Upload package candidate to hackage
uses: haskell-actions/hackage-publish@v1
with:
hackageToken: ${{ secrets.HACKAGE_AUTH_TOKEN }}
packagesPath: ${{ runner.temp }}/packages
docsPath: ${{ runner.temp }}/docs
publish: false

0 comments on commit 52fa43b

Please sign in to comment.