hapistrano/.github/workflows/release.yml

27 lines
633 B
YAML
Raw Normal View History

# 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:
2022-07-01 18:49:06 +03:00
uses: stackbuilders/reusable-workflows/.github/workflows/cabal-upload.yml@v0.1.0
secrets:
HACKAGE_USERNAME: ${{ secrets.HACKAGE_USERNAME }}
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}