mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
Replace the reusable workflow with .github/actions/build plus a nested nix setup action, invoked as a step. CI and the next build stay a single job (no extra runner or Nix restore); the release keeps its build/publish split for credential isolation.
27 lines
532 B
YAML
27 lines
532 B
YAML
name: Build Next
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-26.04
|
|
timeout-minutes: 60
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/build
|
|
with:
|
|
gradle-args: ":app:assembleDebug :app:assembleNext --no-daemon"
|
|
- uses: actions/upload-artifact@v7
|
|
with:
|
|
name: subtracks-next
|
|
path: app/build/outputs/apk
|