Skip to content

Add release workflow #6

Add release workflow

Add release workflow #6

Workflow file for this run

name: Release
on:
push:
release:
types: [published]
workflow_dispatch:
jobs:
call-build-workflow:
uses: ./.github/workflows/build.yml
release:
runs-on: ubuntu-latest
needs: call-build-workflow
steps:
- name: Download sanoid-portable artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.call-build-workflow.outputs.artifact_name }}
- name: Assert sanoid-portable version matches Release version
run: |
sudo update-binfmts --install APE /bin/sh --magic MZqFpD
./sanoid-portable --version