From 83a3212e98933d0be03800c5411331ece90a67a8 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 24 Oct 2024 08:57:13 +0200 Subject: [PATCH] Use github.ref_name when deploying snapshots See gh-42808 --- .github/workflows/build-and-deploy-snapshot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index cafa5e0d2ff5..7ad01cf6c6a3 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -29,7 +29,7 @@ jobs: with: artifact-properties: | /**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false - build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', steps.build-and-publish.outputs.version) || format('spring-boot-{0}', steps.build-and-publish.outputs.version) }} + 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' }}