Skip to content

Commit

Permalink
Issue #15955: run-checkstyle.yml use filename for download
Browse files Browse the repository at this point in the history
  • Loading branch information
romani committed Dec 11, 2024
1 parent 975bb70 commit ff79d02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run-checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
with:
repository: 'checkstyle/checkstyle'
latest: true
fileName: 'checkstyle-*.*.*-all.jar'

- name: Download config
run: |
Expand All @@ -54,6 +55,7 @@ jobs:
- name: Run checkstyle
run: |
pwd
ls -la
JAR_NAME=$(find . -name "*-all.jar")
java -jar "$JAR_NAME" -c config.xml Test.java

0 comments on commit ff79d02

Please sign in to comment.