mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
Extract checkout, nix, signing and the Gradle run into a reusable build workflow used by CI, the next build and the release build job. The build job holds only the signing secrets; the publish job is the only one with a write token and the Play credential. The Play service account is now written to a 0600 file and passed via --json_key instead of on argv.
19 lines
335 B
YAML
19 lines
335 B
YAML
name: Build Next
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
permissions:
|
|
contents: read
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
gradle-args: ":app:assembleDebug :app:assembleNext --no-daemon"
|
|
artifact-name: subtracks-next
|
|
artifact-path: app/build/outputs/apk
|