v1.5.2 #26
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: 17.0.9 | |
- 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 }}" |