Skip to content

Commit 23ec433

Browse files
committed
Auto-update v1.1.0 release with latest APK on every commit
1 parent 57c94a8 commit 23ec433

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,29 @@ jobs:
4343
path: app/build/outputs/apk/debug/app-debug.apk
4444
retention-days: 30
4545

46+
- name: Create or Update Latest Release
47+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
48+
uses: softprops/action-gh-release@v1
49+
with:
50+
tag_name: v1.1.0
51+
name: Patchwork v1.1.0 (Latest)
52+
body: |
53+
## 🚀 Latest Development Build
54+
55+
**Automatically built from latest commit:** ${{ github.sha }}
56+
57+
### 📦 Download
58+
- **patchwork-debug.apk** - Debug build (recommended for testing)
59+
60+
### 📝 Recent Changes
61+
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for full version history.
62+
63+
---
64+
*This is an automated build. Download the APK below and install on your Android device.*
65+
files: app/build/outputs/apk/debug/app-debug.apk
66+
draft: false
67+
prerelease: false
68+
4669
- name: Comment on PR with APK
4770
if: github.event_name == 'pull_request'
4871
uses: actions/github-script@v7

0 commit comments

Comments
 (0)