File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Create Unofficial Release with Artifacts
2+
3+ on :
4+ push :
5+ # Or on tags only, e.g. 'v*.*.*'
6+ branches :
7+ - main
8+ workflow_dispatch : # Allows manual trigger
9+
10+ jobs :
11+ build-and-release :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout repo with submodules
16+ uses : actions/checkout@v4
17+ with :
18+ submodules : recursive
19+
20+ - name : Run builder image
21+ run : |
22+ docker run --rm \
23+ -u $(id -u):$(id -g) \
24+ -v ${{ github.workspace }}:/build/source \
25+ -v ${{ github.workspace }}/output:/output \
26+ ghcr.io/introkun/netpass-builder:latest
27+
28+ - name : Create Release
29+ id : create_release
30+ uses : actions/create-release@v1
31+ with :
32+ tag_name : ${{ github.ref_name }}
33+ release_name : Unofficial Release ${{ github.ref_name }}
34+ draft : false
35+ prerelease : true
36+ body : |
37+ Automated unofficial release for commit ${{ github.sha }}.
38+
39+ - name : Upload Release Assets
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ files : output/*.cia,output/*.3dsx
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments