Fix release.yml #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: tag | |
uses: freckle/haskell-tag-action@v1 | |
- if: steps.tag.outputs.tag | |
run: stack upload --pvp-bounds lower . | |
env: | |
HACKAGE_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }} | |
# Use minimum LTS to set lowest lower bounds | |
STACK_YAML: stack-lts-14.27.yaml |