File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 build :
19-
2019 runs-on : ubuntu-latest
21-
2220 steps :
2321 - uses : actions/checkout@v4
2422 - name : Set up JDK 17
3331 # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3432 - name : Update dependency graph
3533 uses : advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
34+ - name : Extract project version from pom.xml
35+ id : version
36+ run : |
37+ VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
38+ echo "version=$VERSION" >> $GITHUB_ENV
39+ echo "📦 Project version: $VERSION"
3640 - name : Upload Plugin jar
3741 uses : actions/upload-artifact@v4
3842 with :
39- name : Plugin -${{ env.snapshotVersion }}-${{ env.git_hash }}.jar
40- path : ${{ env.artifactPath }}/Plugin -${{ env.snapshotVersion }}.jar
43+ name : DupePlus -${{ env.version }}.jar
44+ path : target/DupePlus -${{ env.version }}.jar
You can’t perform that action at this time.
0 commit comments