Skip to content

Commit

Permalink
use final name without version
Browse files Browse the repository at this point in the history
  • Loading branch information
sboeckelmann committed Dec 22, 2023
1 parent 936a6c8 commit f40d2d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: 'testdata-generator-quarkus-rest-app-${{env.VERSION}}-runner.jar'
path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-${{env.VERSION}}-runner.jar'
path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-runner.jar'
- name: 'Create Release'
if: contains(github.ref, 'v')
id: create_release
Expand All @@ -91,7 +91,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
asset_path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-${{env.VERSION}}-runner.jar'
asset_path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-runner.jar'
asset_name: 'testdata-generator-quarkus-rest-app-${{env.GIT_TAG_NAME}}.jar'
asset_content_type: application/java-archive

Expand Down Expand Up @@ -360,13 +360,6 @@ jobs:
run: |
echo "::set-env name=UPLOAD_URL::$(cat upload_url.txt)"
- name: 'Get Version Number'
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
run: |
echo "::set-env name=VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
shell: bash

- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
Expand All @@ -392,5 +385,5 @@ jobs:
with:
upload_url: ${{env.UPLOAD_URL}}
asset_name: 'testdata-generator-quarkus-rest-app-runner-${{env.GIT_TAG_NAME}}-${{matrix.label}}${{matrix.exe}}'
asset_path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-${{env.VERSION}}-runner${{matrix.exe}}'
asset_path: 'testdata-generator-quarkus-rest-app/target/testdata-generator-quarkus-rest-app-runner${{matrix.exe}}'
asset_content_type: application/octet-stream
1 change: 1 addition & 0 deletions testdata-generator-quarkus-rest-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
</scm>

<build>
<finalName>testdata-generator-quarkus-rest-app</finalName>
<plugins>
<plugin>
<groupId>${quarkus.platform.group-id}</groupId>
Expand Down

0 comments on commit f40d2d4

Please sign in to comment.