v1.4.4 #19
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: Publish to store | |
on: | |
release: | |
types: [published] | |
jobs: | |
publishToStore: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: 11.0.19 | |
- name: Install App center | |
run: npm install -g appcenter-cli | |
- name: Obtain config | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ secrets.GIT_CONFIG_REPO }} | |
ref: master | |
path: app-configuration | |
token: ${{ secrets.GIT_TOKEN }} | |
- name: Obtain env variables | |
run: mv ./app-configuration/.env.production ./.env | |
- name: Install dependencies | |
run: npm install | |
- name: Build android | |
run: npm run build-android-release | |
- name: Publish | |
run: npm run distribute-production-flow -- -m "${{ github.event.release.body }}" |