File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 11name : Build
22
3- on : [push, workflow_dispatch]
3+ on :
4+ pull_request :
5+ # push:
6+ workflow_call :
7+ outputs :
8+ artifact_name :
9+ description : Name of the sanoid-portable artifact uploaded during the build.
10+ value : ${{ jobs.build.outputs.artifact_name }}
11+ workflow_dispatch :
412
513jobs :
614 build :
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ release :
6+ types : [published]
7+ workflow_dispatch :
8+
9+ jobs :
10+ call-build-workflow :
11+ uses : ./.github/workflows/build.yml
12+
13+ release :
14+ runs-on : ubuntu-latest
15+ needs : call-build-workflow
16+ steps :
17+ - name : Download sanoid-portable artifact
18+ uses : actions/download-artifact@v4
19+ with :
20+ name : ${{ needs.call-build-workflow.outputs.artifact_name }}
21+ - name : Assert sanoid-portable version matches Release version
22+ run : |
23+ sudo update-binfmts --install APE /bin/sh --magic MZqFpD
24+ sudo chmod +x sanoid-portable
25+ ./sanoid-portable --version
You can’t perform that action at this time.
0 commit comments