Skip to content

Commit

Permalink
only trigger on tag, and upload aab
Browse files Browse the repository at this point in the history
  • Loading branch information
Zainrax committed Oct 1, 2024
1 parent 52e965c commit 23b2f18
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ name: Android CI/CD

on:
push:
branches:
- next
tags:
- "v*.*.*"
pull_request:
branches:
- next

jobs:
build:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 23b2f18

Please sign in to comment.