Skip to content

fix ci?

fix ci? #12

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: sol/haskell-autotag@v1
id: autotag
with:
prefix: null
- run: cabal sdist
- run: cabal update
- run: cabal haddock --haddock-for-hackage --enable-documentation
- uses: haskell-actions/[email protected]
with:
hackageToken: ${{ secrets.HACKAGE_AUTH_TOKEN }}
publish: true
docsPath: dist-newstyle
if: steps.autotag.outputs.created