Skip to content

Nightly releases

Nightly releases #1681

Workflow file for this run

name: Nightly releases
on:
schedule:
- cron: "0 0 * * *" # Executes every day at 12 midnight UTC
permissions:
# For generating attestations
id-token: write
attestations: write
jobs:
build-nightly:
runs-on: ubuntu-latest
# Only allow this job to be run from the original repo
# HACK: Is this really needed?
if: ${{ startsWith(github.repository, 'EdricChan03') }}
steps:
- uses: actions/checkout@v4
- name: Build nightly app
uses: ./.github/actions/build-gradle
with:
gradle-cache-read-only: true
gradle-arguments: :app:assembleNightly
upload-name: app-nightly.apk
upload-path: app/build/outputs/apk/nightly/app-nightly.apk
transcrypt-cipher: ${{ secrets.TRANSCRYPT_CIPHER }}
transcrypt-password: ${{ secrets.TRANSCRYPT_PASSWORD }}
app-keystore-password: ${{ secrets.APP_KEYSTORE_PASSWORD }}
app-keystore-alias: ${{ secrets.APP_KEYSTORE_ALIAS }}
app-keystore-alias-password: ${{ secrets.APP_KEYSTORE_ALIAS_PASSWORD }}