A PR build only compiles and packs, and build.yml falls back to `start-cli init-key` when the secret is absent, so passing DEV_KEY only put the real signing key on a runner that executes branch-authored code.
20 lines
483 B
YAML
20 lines
483 B
YAML
name: Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths-ignore: ['*.md']
|
|
branches: ['master']
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
if: github.event.pull_request.draft == false
|
|
uses: Start9Labs/start-technologies/.github/workflows/build.yml@master
|
|
# with:
|
|
# FREE_DISK_SPACE: true
|
|
# No DEV_KEY — a PR build doesn't publish, so it doesn't need the signing key.
|