Skip to content

Commit

Permalink
ci: disable cache for release
Browse files Browse the repository at this point in the history
The release workflow is spending more time in updating the cache than
building, and there's no benefit as consecutive builds will get a
different cache anyway
  • Loading branch information
manuelnaranjo committed Aug 27, 2024
1 parent 5ef0a73 commit f9fe1e4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: bazel-contrib/[email protected]
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Keep a disk-cache
disk-cache: true
# Share repository cache between workflows.
repository-cache: true
# enable some flags for CI
bazelrc: |
import %workspace%/.aspect/bazelrc/ci.bazelrc
import %workspace%/.github/workflows/ci.bazelrc
# keep a cache for MODULE.bazel repos
external-cache: true

- name: Build Binaries
run: .github/workflows/build_assets.sh

Expand Down

0 comments on commit f9fe1e4

Please sign in to comment.