From 23b2f1857e7f9109a3e9697bb325e025d22b9fda Mon Sep 17 00:00:00 2001 From: Patrick Baxter Date: Tue, 1 Oct 2024 14:53:10 +1300 Subject: [PATCH] only trigger on tag, and upload aab --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06e75700..3ce35fda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,8 @@ name: Android CI/CD on: push: - branches: - - next tags: - "v*.*.*" - pull_request: - branches: - - next jobs: build: @@ -88,6 +83,15 @@ jobs: cd sidekick ./gradlew assembleRelease + - name: Upload AAB to GitHub Release + uses: ncipollo/release-action@v1 + with: + artifacts: sidekick/app/build/outputs/bundle/release/app-release.aab + token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + name: Release ${{ github.ref }} + draft: false + prerelease: false deploy: name: Deploy to Google Play needs: build