Skip to content

Commit eecdd4c

Browse files
authored
Update action.yml
Improved quoting
1 parent 124ee3f commit eecdd4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ runs:
6868
cd /home/runner/work/
6969
mkdir -p 'spotbugs+'
7070
cd 'spotbugs+'
71-
wget -q https://github.com/spotbugs/spotbugs/releases/download/"${INPUT_SPOTBUGS_VERSION}"/spotbugs-"${INPUT_SPOTBUGS_VERSION}".tgz
71+
wget -q "https://github.com/spotbugs/spotbugs/releases/download/${INPUT_SPOTBUGS_VERSION}/spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
7272
tar -xzf spotbugs-"${INPUT_SPOTBUGS_VERSION}".tgz
7373
chmod +x spotbugs-"${INPUT_SPOTBUGS_VERSION}"/bin/spotbugs
7474
echo "Got spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
@@ -81,7 +81,7 @@ runs:
8181
cd /home/runner/work/
8282
mkdir -p 'findsecbugs+'
8383
cd 'findsecbugs+'
84-
wget -q https://search.maven.org/remotecontent?filepath=com/h3xstream/findsecbugs/findsecbugs-plugin/"${INPUT_FINDSECBUGS_VERSION}"/findsecbugs-plugin-"${INPUT_FINDSECBUGS_VERSION}".jar
84+
wget -q "https://search.maven.org/remotecontent?filepath=com/h3xstream/findsecbugs/findsecbugs-plugin/${INPUT_FINDSECBUGS_VERSION}/findsecbugs-plugin-${INPUT_FINDSECBUGS_VERSION}.jar"
8585
echo "Got findsecbugs-plugin-${INPUT_FINDSECBUGS_VERSION}.jar"
8686
shell: bash
8787
- name: Run SpotBugs
@@ -92,7 +92,7 @@ runs:
9292
FINDSECBUGS_HOME: /home/runner/work/findsecbugs+/
9393
run: |
9494
SPOTBUGS_FILES=$(find "${INPUT_SPOTBUGS_TARGET}" -type f -exec echo -n {} \+)
95-
"${SPOTBUGS_HOME}"/bin/spotbugs -textui -quiet -effort:max -low -bugCategories SECURITY -pluginList "${FINDSECBUGS_HOME}"/findsecbugs-plugin-"${INPUT_FINDSECBUGS_VERSION}".jar -sarif=spotbugs.sarif ${SPOTBUGS_FILES}
95+
"${SPOTBUGS_HOME}/bin/spotbugs" -textui -quiet -effort:max -low -bugCategories SECURITY -pluginList "${FINDSECBUGS_HOME}/findsecbugs-plugin-${INPUT_FINDSECBUGS_VERSION}.jar" -sarif=spotbugs.sarif ${SPOTBUGS_FILES}
9696
shell: bash
9797
- name: Upload SARIF file
9898
if: inputs.upload_sarif == 'true'

0 commit comments

Comments
 (0)