Fix workflow syntax?
This commit is contained in:
parent
a222d0f488
commit
087fa0df2d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- uses: gradle/gradle-build-action@v2
|
- uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
# allow master and *-dev branches to write caches (default is only master/main)
|
# allow master and *-dev branches to write caches (default is only master/main)
|
||||||
cache-read-only: ${{ github.ref != 'refs/heads/master' && !(github.ref.endsWith('-dev') && github.ref.startsWith('refs/heads/')) }}
|
cache-read-only: ${{ github.ref != 'refs/heads/master' && !(endsWith(github.ref, '-dev') && startsWith(github.ref, 'refs/heads/')) }}
|
||||||
# gradle-build-action doesn't support caching files in the project dir
|
# gradle-build-action doesn't support caching files in the project dir
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue