Skip to content

Commit 19ec378

Browse files
committed
Use read-only cache on pull-requests
1 parent 2640df9 commit 19ec378

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ jobs:
2424
run: npm install -g yarn@1.22.17
2525
- name: Setup Gradle
2626
uses: gradle/gradle-build-action@v2
27+
with:
28+
cache-read-only: ${{ github.event_name == 'pull_request' }}
2729
- name: Build
2830
run: ./gradlew build ${{ matrix.config.params }}

0 commit comments

Comments
 (0)