Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
July541 committed Aug 25, 2024
1 parent 7d5b787 commit 120a856
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
release:
types: [released]

jobs:
package:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
- run: cabal clean
- run: cabal build
- run: cabal sdist

- uses: haskell-actions/[email protected]
with:
hackageToken: ${{ secrets.HACKAGE_AUTH_TOKEN }}
publish: false # upload candidate

0 comments on commit 120a856

Please sign in to comment.