Skip to content

app-distribution-beta #416

app-distribution-beta

app-distribution-beta #416

name: app-distribution-beta
on:
schedule:
- cron: '31 3 * * MON-FRI'
workflow_dispatch:
permissions: read-all
jobs:
app-distribution-beta:
runs-on: ubuntu-latest
if: github.repository == 'Orange-OpenSource/ouds-android'
permissions:
contents: write # Required to create tag on repository
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- name: Set up our JDK environment
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: 'zulu'
java-version: '21'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@5e2ebd065dc2488b7a6ad670704656cbbe1e8f60 # v6.1.1
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
- 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: Upload APK to Firebase App Distribution
uses: ./.github/actions/app-distribution
with:
append-git-sha-to-version-name: 'true'
variant: 'betaRelease'
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
git-tag-prefix: 'ci/beta-app'
github-token: ${{ secrets.GITHUB_TOKEN }}
group: 'ouds-android-beta'