app-distribution-daily #580
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: app-distribution-daily | |
on: | |
schedule: | |
- cron: '31 7 * * MON-FRI' | |
workflow_dispatch: | |
jobs: | |
app-distribution-daily: | |
runs-on: ubuntu-latest | |
if: github.repository == 'Orange-OpenSource/ods-android' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Set up our JDK environment | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Set up signing configuration | |
uses: ./.github/actions/setup-signing | |
with: | |
keystore: ${{ secrets.SIGNING_KEYSTORE }} | |
store-password: ${{ secrets.SIGNING_STORE_PASSWORD }} | |
key-alias: ${{ secrets.SIGNING_KEY_ALIAS }} | |
key-password: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
- name: Set up AppsPlus configuration | |
env: | |
APPS_PLUS_URL: ${{ secrets.APPS_PLUS_URL }} | |
APPS_PLUS_API_KEY: ${{ secrets.APPS_PLUS_API_KEY }} | |
run: | | |
echo APPS_PLUS_URL="$APPS_PLUS_URL" > $GITHUB_WORKSPACE/local.properties | |
echo APPS_PLUS_API_KEY="$APPS_PLUS_API_KEY" >> $GITHUB_WORKSPACE/local.properties | |
- name: Upload APK to Firebase App Distribution | |
uses: ./.github/actions/app-distribution | |
with: | |
append-git-sha-to-version-name: 'true' | |
git-tag-prefix: 'ci/daily-app' | |
group: 'ods-android-internal-tests' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
firebase-token: ${{ secrets.FIREBASE_TOKEN }} |