We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0fec3 commit 3254069Copy full SHA for 3254069
.github/workflows/pmd.yml
@@ -20,9 +20,11 @@ jobs:
20
21
- name: Run CPD for Fortran
22
continue-on-error: true
23
- env:
24
- PMD_VERSION: 7.14.0
25
run: |
+ # Get latest PMD version from GitHub API
+ PMD_VERSION=$(curl -s https://api.github.com/repos/pmd/pmd/releases/latest | grep '"tag_name":' | cut -d'"' -f4 | sed 's/pmd_releases\///')
26
+ echo "Using PMD version: $PMD_VERSION"
27
+
28
curl -sSL -o pmd.zip \
29
"https://github.com/pmd/pmd/releases/download/pmd_releases/${PMD_VERSION}/pmd-dist-${PMD_VERSION}-bin.zip"
30
unzip -q pmd.zip
0 commit comments