Skip to content

Publish to hackage directly from GitHub. (#38) #1

Publish to hackage directly from GitHub. (#38)

Publish to hackage directly from GitHub. (#38) #1

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cabal check
- uses: sol/haskell-autotag@v1
id: autotag
with:
prefix: v
- run: cabal sdist
- uses: haskell-actions/hackage-publish@v1.1
with:
hackageToken: ${{ secrets.HACKAGE_AUTH_TOKEN }}
publish: true
if: steps.autotag.outputs.created