Skip to content

fix(ci-cd): Fix path #2

fix(ci-cd): Fix path

fix(ci-cd): Fix path #2

name: Build and publish app
on:
release:
types: [ published ]
jobs:
build-app:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Write KeyStore 🗝️
uses: .github/actions/prepare-keystore
with:
signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }}
signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStoreBase64: ${{ secrets.KEYSTORE }}
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: "17.x"
cache: 'gradle'
- name: Build APKs 📱
run: ./gradlew assembleRelease
- name: Upload APKs 🚀
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
files: app/build/outputs/apk/release/*.apk