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 : Release bundle
2+
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ bundle-and-release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Check out repository
16+ uses : actions/checkout@v4
17+
18+ - name : Build zip bundle
19+ run : |
20+ mkdir -p dist/anki_jam
21+ rsync -av --exclude='.git' --exclude='.github' --exclude='dist' --exclude='__pycache__' --exclude='*.pyc' ./ dist/anki_jam/
22+ cd dist
23+ zip -r anki_jam.zip anki_jam
24+
25+ - name : Create GitHub release
26+ uses : ncipollo/release-action@v1
27+ with :
28+ tag : auto-${{ github.run_number }}
29+ name : Automated build ${{ github.run_number }}
30+ commit : ${{ github.sha }}
31+ artifacts : dist/anki_jam.zip
32+ artifact_content_type : application/zip
33+ allowUpdates : true
34+ replacesArtifacts : true
You can’t perform that action at this time.
0 commit comments