-
Notifications
You must be signed in to change notification settings - Fork 9
32 lines (28 loc) · 1.05 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 }}