Update tabris dependency #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Android app | |
on: | |
push: | |
jobs: | |
build_android_app: | |
runs-on: ubuntu-latest | |
name: Build Android application | |
environment: 'Android app signing' | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Install tabris-cli | |
run: npm install -g tabris-cli | |
- name: Install application dependencies | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
npm run --if-present prepare | |
npm install | |
- name: Setup java | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: 11 | |
- name: Setup gradle | |
uses: gradle/[email protected] | |
- name: Execute build | |
env: | |
TABRIS_BUILD_KEY: ${{ secrets.TABRIS_IOS_BUILD_KEY }} | |
run: | | |
tabris build --release android -- --packageType=bundle | |
- name: Sign release app bundle | |
uses: r0adkll/[email protected] | |
id: sign_app | |
with: | |
releaseDirectory: build/cordova/platforms/android/app/build/outputs/bundle/release | |
signingKeyBase64: ${{ secrets.ANDROID_APP_BUNDLE_SIGNING_KEY }} | |
keyStorePassword: ${{ secrets.ANDROID_APP_BUNDLE_KEYSTORE_PASSWORD }} | |
alias: ${{ secrets.ANDROID_APP_BUNDLE_KEY_ALIAS }} | |
keyPassword: ${{ secrets.ANDROID_APP_BUNDLE_KEY_PASSWORD }} | |
- name: Store signed app bundle | |
uses: actions/[email protected] | |
with: | |
name: signed-app-bundle | |
path: ${{ steps.sign_app.outputs.signedReleaseFile }} | |
retention-days: 7 |