Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/actions/setup-project-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,11 @@ runs:
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: ${{ steps.resolve.outputs.version }}
# ci.yml resolves needs.changes.outputs.checkout_ref to a dev commit on
# schedule, so a scheduled job runs a different ref's code under the
# default branch's Actions-cache scope. setup-bun saves the installed
# executable into that cache in its post step; letting the checked-out
# code influence a default-branch cache entry is the
# actions/cache-poisoning/poisonable-step chain. Every other trigger
# checks out the run's own ref, where the cache is branch-scoped.
no-cache: ${{ github.event_name == 'schedule' }}
Loading