Skip to content

Commit

Permalink
ci: Only cache docker on main branch (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Feb 24, 2023
1 parent 6388d7c commit 5a382e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ jobs:
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
# Don't cache if the branch isn't main...
no-cache: ${{ github.ref != 'refs/heads/main' }}

test-min-rust-version:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5a382e7

Please sign in to comment.