Skip to content

Commit a9ed1f2

Browse files
committed
Write caches only from jb-main
1 parent 4a08465 commit a9ed1f2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/actions/setup-prerequisites/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ runs:
1616
with:
1717
# Only save Gradle User Home state for builds on the 'jb-main' branch.
1818
# Builds on other branches will only read existing entries from the cache.
19-
cache-read-only: false
20-
# Replace with this before merging
21-
# cache-read-only: ${{ github.ref != 'refs/heads/jb-main' }}
19+
cache-read-only: ${{ github.ref != 'refs/heads/jb-main' }}
2220

2321
# Limit the size of the cache entry.
2422
# These directories contain instrumented/transformed dependency jars which can be reconstructed relatively quickly.

.github/actions/setup-xcode/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ runs:
2020
restore-keys: xcode-cache-deriveddata-
2121
# Only save DerivedData state for builds on the 'jb-main' branch.
2222
# Builds on other branches will only read existing entries from the cache.
23-
cache-read-only: false
24-
# Replace with this before merging
25-
# cache-read-only: ${{ github.ref != 'refs/heads/jb-main' }}
23+
cache-read-only: ${{ github.ref != 'refs/heads/jb-main' }}

0 commit comments

Comments
 (0)