Skip to content

Commit ecca8e3

Browse files
committed
ci(gh-actions): bash strict mode
1 parent f10bbb3 commit ecca8e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-dependency-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
shell: bash
4141
run: |
4242
set -euo pipefail
43-
IFS=$'\n\t'
43+
# Do not set IFS=$'\n\t', breaks ${MAVEN_CLI_OPTS}
4444
# shellcheck disable=SC2086
45-
IFS=$' \n\t' ./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.NVDApiKey=${NVD_API_KEY} dependency-check:aggregate
45+
./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.NVDApiKey=${NVD_API_KEY} dependency-check:aggregate
4646
- name: Upload artifacts
4747
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4848
with:

0 commit comments

Comments
 (0)