Skip to content

Commit 5057227

Browse files
committed
attempt cleanup before scan
1 parent 4f6cfee commit 5057227

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ jobs:
2222
java-version: 1.8
2323
- name: Build with Maven
2424
run: mvn -B package --file pom.xml
25+
- name: Post Build cleanup and scan prep
26+
run: |
27+
cp ./target/JavaVulnerableLab.war ./
28+
rm -rf target
2529
- name: Run findSecBugs scan
2630
run: |
2731
chmod +x ./findsecbugs-cli-1.10.1/findsecbugs.sh
28-
cd ./findsecbugs-cli-1.10.1
29-
./findsecbugs.sh -progress -html -output report.htm ./target/JavaVulnerableLab.war
32+
./findsecbugs-cli-1.10.1/findsecbugs.sh -progress -html -output report.htm ./JavaVulnerableLab.war

0 commit comments

Comments
 (0)