mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
ci: share the build as a composite action
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.
This commit is contained in:
@@ -9,10 +9,18 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 60
|
||||
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user