Skip to content

Commit c7c1bdb

Browse files
committed
corrected package path
1 parent 4fdb0c3 commit c7c1bdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pmd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
- name: Build PMD
2626
run: |
2727
(cd pmd && mvn clean install -DskipTests> ../pmd.txt)
28-
export PMD_COMMAND="$(pwd)/pmd/bin/pmd"
28+
export PATH=$PATH:$(pwd)/bin/pmd
2929
3030
- name: Running PMD
3131
run: |
32-
$PMD_COMMAND cpd -l fortran pr/src/* > ../pmd-fort.txt
33-
$PMD_COMMAND cpd -l python pr/toolchain/* > ../pmd-py.txt
32+
pmd cpd -l fortran pr/src/* > ../pmd-fort.txt
33+
pmd cpd -l python pr/toolchain/* > ../pmd-py.txt
3434
3535
- name: Display PMD Reports
3636
run: |

0 commit comments

Comments
 (0)