Don't populate Develocity cache in pull requests
That's potentially dangerous.
This commit is contained in:
parent
2a8183371f
commit
3dcaa20c25
|
@ -82,7 +82,8 @@ jobs:
|
||||||
- name: Run build script
|
- name: Run build script
|
||||||
env:
|
env:
|
||||||
RDBMS: ${{ matrix.rdbms }}
|
RDBMS: ${{ matrix.rdbms }}
|
||||||
POPULATE_REMOTE_GRADLE_CACHE: true
|
# Don't populate Develocity cache in pull requests as that's potentially dangerous
|
||||||
|
POPULATE_REMOTE_GRADLE_CACHE: "${{ github.event_name == 'push' }}"
|
||||||
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_TOKEN }}"
|
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_TOKEN }}"
|
||||||
run: ./ci/build-github.sh
|
run: ./ci/build-github.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue