Add release workflow pipeline #3
Workflow file for this run
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: | |
# trigger on version tags matching SemVer | |
# tags: | |
# - "[0-9]+.[0-9]+.[0-9]+" | |
push: | |
branches: [ "master" ] | |
pull_request: | |
jobs: | |
release: | |
name: "Pack & Upload" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for the haskell workflow to finish as there are artefacts produced there | |
uses: int128/wait-for-workflows-action@v1 | |
with: | |
filter-workflow-names: | | |
Haskell CI using Cabal | |
- uses: actions/[email protected] | |
with: | |
repository: IntersectMBO/cardano-addresses | |
ref: ${{ github.ref }} | |
# Also ensure we have all history with all tags | |
fetch-depth: 0 | |
- name: Get the version | |
id: get_version | |
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT | |
- uses: actions/download-artifact@v4 | |
with: | |
path: artifacts | |
pattern: cardano-address-* | |
merge-multiple: true | |
- name: Display structure of downloaded files | |
run: ls -R artifacts |