Skip to content

Workflow file for this run

name: Release the lib to Hackage
on:
push:
branches:
- supermajor
- major
- minor
- patch
concurrency:
group: cd
cancel-in-progress: false
jobs:
ci:
uses: ./.github/workflows/ci.yaml
secrets: inherit
cd:
needs:
- ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Release
uses: nikita-volkov/[email protected]
with:
hackage-token: ${{ secrets.HACKAGE_TOKEN }}
version-bump-place: ${{ fromJSON('{"supermajor":0,"major":1,"minor":2,"patch":3}')[github.ref_name] }}
main-branch: master
prefix-tag-with-v: true