Use github.ref_name for building snapshots
Closes gh-42866
This commit is contained in:
parent
d998720f75
commit
b8b3df0b60
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: Deploy
|
||||
uses: spring-io/artifactory-deploy-action@dc1913008c0599f0c4b1fdafb6ff3c502b3565ea # v0.0.2
|
||||
with:
|
||||
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', '3.4.x') || format('spring-boot-{0}', '3.4.x') }}
|
||||
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', github.ref_name) || format('spring-boot-{0}', github.ref_name) }}
|
||||
folder: 'deployment-repository'
|
||||
password: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_PASSWORD || secrets.ARTIFACTORY_PASSWORD }}
|
||||
project: ${{ vars.COMMERCIAL && 'spring' }}
|
||||
|
|
Loading…
Reference in New Issue