mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 19:06:34 +00:00
ci: include flashable .img.xz on every release, dev included
Repo is public → unlimited Actions minutes, so the 30-60 min pi-gen bake doesn't have a cost gate. Master pushes now produce the full asset set (binaries + image), same as tag releases.
This commit is contained in:
parent
3f20d03520
commit
7097de6f19
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -79,9 +79,10 @@ jobs:
|
||||||
version="${MAJ}.${MIN}.${PAT}-dev.${short}"
|
version="${MAJ}.${MIN}.${PAT}-dev.${short}"
|
||||||
tag="v${version}"
|
tag="v${version}"
|
||||||
channel=dev
|
channel=dev
|
||||||
# Skip image build for master pushes — too slow. Image happens on
|
# Every release — including dev — ships the flashable .img.xz.
|
||||||
# tags or when workflow_dispatch.bump=true.
|
# Public repo = unlimited Actions minutes, so the 30-60 min image
|
||||||
build_image=${{ inputs.bump == true || 'false' }}
|
# bake on every master push costs nothing.
|
||||||
|
build_image=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "version=$version" >> "$GITHUB_OUTPUT"
|
echo "version=$version" >> "$GITHUB_OUTPUT"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue