hapistrano/.github/workflows/release.yml
2022-07-01 10:49:06 -05:00

27 lines
633 B
YAML

# The present workflow was made based on the following references:
# - https://github.com/tfausak/strive/blob/main/.github/workflows/ci.yaml
# - https://hackage.haskell.org/upload
---
name: Release
on:
release:
types:
- published
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true
jobs:
ghcr:
uses: ./.github/workflows/reusable-docker.yml
with:
push: true
hackage:
uses: stackbuilders/reusable-workflows/.github/workflows/cabal-upload.yml@v0.1.0
secrets:
HACKAGE_USERNAME: ${{ secrets.HACKAGE_USERNAME }}
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}