From 42c9c0f626cd22fb470d05475682fceacd96652d Mon Sep 17 00:00:00 2001 From: Batmancpu <261216860+Batmancpu@users.noreply.github.com> Date: Tue, 6 Oct 2026 08:45:11 +0000 Subject: [PATCH 1/2] feat: create GitHub prerelease and attach APK Update `.github/workflows/build.yml` to automatically create a GitHub Prerelease on successful build using `softprops/action-gh-release@v2`. Set `contents: write` permissions so the action has rights to publish the release, and attach `expBoard-debug.apk` to it. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83623eb..d0a8129 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: true permissions: - contents: read + contents: write jobs: build: @@ -51,3 +51,13 @@ jobs: name: expBoard-debug path: expBoard-debug.apk retention-days: 14 + + - name: Create Release + if: success() + uses: softprops/action-gh-release@v2 + with: + tag_name: expBoard-build-${{ github.run_number }} + name: expBoard-build-${{ github.run_number }} + files: expBoard-debug.apk + prerelease: true + generate_release_notes: true From 4a8e39a7fef031960a20721ce4f4ac934f424c1e Mon Sep 17 00:00:00 2001 From: Batmancpu <261216860+Batmancpu@users.noreply.github.com> Date: Tue, 6 Oct 2026 16:33:38 +0000 Subject: [PATCH 2/2] feat: attach APK to prerelease Update `.github/workflows/build.yml` to automatically create a GitHub Prerelease on successful build using `softprops/action-gh-release@v2`. Set `contents: write` permissions so the action has rights to publish the release, and attach `expBoard-debug.apk` to it. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>