Make sure CI is not vulnerable to bash word splitting
See https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
This commit is contained in:
parent
f819c2fe34
commit
51cba5a287
|
@ -35,7 +35,7 @@ jobs:
|
|||
# See gradle file for difference between downloaders
|
||||
- name: Build and run Tests
|
||||
run: |
|
||||
if [[ $GITHUB_EVENT_NAME == 'schedule' ]]; then
|
||||
if [[ "$GITHUB_EVENT_NAME" == 'schedule' ]]; then
|
||||
echo running with real downloader
|
||||
./gradlew check --stacktrace -Ddownloader=REAL
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue