Skip to content

Commit 2ff4bf1

Browse files
committed
ci: sync with netresearch/.github templates/go-app
Auto-generated by scripts/sync-template.sh. Any changes you want to keep must be declared in .github/template.yaml's intentional-drift: list — the check-template-drift.yml job will otherwise revert them on next sync. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 02c34fe commit 2ff4bf1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ jobs:
7272
ref: ${{ needs.create-release.outputs.tag }}
7373
release-tag: ${{ needs.create-release.outputs.tag }}
7474
sbom: true
75-
setup-bun: ${{ hashFiles('package.json') != '' }}
75+
# setup-bun runs unconditionally. `hashFiles()` in the caller's `with:`
76+
# is evaluated BEFORE the reusable workflow's checkout, so the caller
77+
# workspace is empty and any guard would have always returned false.
78+
# The bun install/run commands below are `-f package.json`-gated, so
79+
# non-frontend repos (ofelia, raybeam) pay only the ~10s Bun install
80+
# overhead per matrix entry — no actual bun work happens.
81+
setup-bun: true
7682
pre-build-command: |
7783
if [ -f package.json ]; then
7884
bun install --frozen-lockfile

0 commit comments

Comments
 (0)