mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-24 12:05:35 +03:00
27 lines
633 B
YAML
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 }}
|