Skip to content

Fix packagesPath location for Hackage publishing (#42) #8

Fix packagesPath location for Hackage publishing (#42)

Fix packagesPath location for Hackage publishing (#42) #8

Workflow file for this run

{"jobs":{"hackage-publish":{"permissions":{"contents":"read","id-token":"write"},"runs-on":"ubuntu-latest","steps":[{"uses":"actions/checkout@v4","with":{"ref":"${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}"}},{"id":"setup-haskell-cabal","uses":"haskell-actions/setup@v2","with":{"cabal-version":"3.10.2.1","ghc-version":"9.6.1"}},{"run":"cabal v2-sdist --output-directory='${{ runner.temp }}/packages/' all"},{"uses":"haskell-actions/hackage-publish@v1","with":{"hackageToken":"${{ secrets.HACKAGE_AUTH_TOKEN }}","packagesPath":"${{ runner.temp }}/packages/","publish":false}}]}},"name":"Publish release to Hackage","on":{"push":{"tags":["v?[0-9]+.[0-9]+.[0-9]+*"]},"workflow_dispatch":{"inputs":{"tag":{"description":"The existing version to publish to Hackage","required":true,"type":"string"}}}}}