Skip to content

Commit

Permalink
chore(project): add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Skythrew committed Aug 13, 2024
1 parent b97cb8a commit f6b8d9a
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release

run-name: Building release bundle

on:
push:
tags:
- '*'

jobs:
build:
name: Generate App Bundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- run: chmod +x gradlew
- name: Bundle 'release' with Gradle
run: ./gradlew bundleRelease

- name: Sign AAB
id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGNING_KEYSTORE }}
alias: ${{ secrets.SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_ALIAS_PASSWORD }}

- run: echo "Build status report=${{ job.status }}."

- name: Upload App Bundle
uses: actions/upload-artifact@v1
with:
name: aab
path: ${{steps.sign_aab.outputs.signedReleaseFile}}

0 comments on commit f6b8d9a

Please sign in to comment.