From c7526f4ca85af90e24f0f1a33c2195da76ec9104 Mon Sep 17 00:00:00 2001 From: paytoncain Date: Wed, 3 Apr 2024 14:34:37 -0600 Subject: [PATCH] Add project version to release artifact name --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3f029753..dfa10782 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -31,6 +31,8 @@ jobs: run: mvn -B test - name: Verify run: mvn -B verify -DskipTests + - id: version + run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "$GITHUB_OUTPUT" - name: Upload Build Resources uses: actions/upload-artifact@v4 with: