Tag Weekly Release #150
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: Weekly Playstore Beta | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 4 * * 0' | |
jobs: | |
play_promote: | |
name: Playstore Promote | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3.11.0 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- uses: ./.github/actions/create-release-number | |
name: Create Release Number | |
id: rel_number | |
with: | |
beta: true | |
- uses: ./.github/actions/inflate-secrets | |
name: Inflate Secrets | |
with: | |
keystore: ${{ secrets.UPLOAD_KEYSTORE_FILE }} | |
google-services: ${{ secrets.GOOGLESERVICES }} | |
firebase-creds: ${{ secrets.FIREBASECREDS }} | |
playstore-creds: ${{ secrets.PLAYSTORECREDS }} | |
- name: Build Release | |
env: | |
KEYSTORE_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_FILE_PASSWORD }} | |
KEYSTORE_ALIAS: ${{ secrets.UPLOAD_KEYSTORE_ALIAS }} | |
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }} | |
VERSION: ${{ steps.rel_number.outputs.version }} | |
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }} | |
run: ./gradlew promoteArtifact --from-track internal --promote-track beta |