[skip ci] Avoid writing to Gradle action cache from PRs

This commit is contained in:
arkon 2022-02-27 10:28:44 -05:00
parent 1735a25bc3
commit 773f88f8d4
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,7 @@ jobs:
CI_MULTISRC: "true" CI_MULTISRC: "true"
with: with:
arguments: :multisrc:generateExtensions arguments: :multisrc:generateExtensions
cache-read-only: true
- name: Build "${{ matrix.lang }}" extensions - name: Build "${{ matrix.lang }}" extensions
uses: gradle/gradle-command-action@v2 uses: gradle/gradle-command-action@v2
@ -51,6 +52,7 @@ jobs:
CI_MATRIX_LANG: ${{ matrix.lang }} CI_MATRIX_LANG: ${{ matrix.lang }}
with: with:
arguments: assembleDebug arguments: assembleDebug
cache-read-only: true
build_individual: build_individual:
name: Build individual modules name: Build individual modules
@ -80,3 +82,4 @@ jobs:
CI_MATRIX_LANG: ${{ matrix.lang }} CI_MATRIX_LANG: ${{ matrix.lang }}
with: with:
arguments: assembleDebug arguments: assembleDebug
cache-read-only: true