Skip to content

Commit 816d1c5

Browse files
committed
vibe-coded CI release
1 parent b0cf805 commit 816d1c5

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)