Nightly releases #2066
This file contains hidden or 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: 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@v6 | |
| - 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 }} |