Use the version not the tag when creating the build name

This commit is contained in:
Andy Wilkinson
2024-04-18 14:33:58 +01:00
parent 22698ea79b
commit 8a22108c62

View File

@@ -24,7 +24,7 @@ jobs:
- name: Stage Release
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
with:
build-name: ${{ format('spring-boot-{0}', github.ref_name)}}
build-name: ${{ format('spring-boot-{0}', steps.build-and-publish.outputs.version)}}
folder: 'deployment-repository'
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
repository: 'libs-staging-local'