Skip to content

Commit f318775

Browse files
committed
Second attempt at workaround for empty GITHUB_REF variable
Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
1 parent b3d2e11 commit f318775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
DOCKER_BUILDKIT: '1'
1313
CONAN_LOGIN_USERNAME: ${{ secrets.ARTIFACTORY_USER }}
1414
CONAN_PASSWORD: ${{ secrets.ARTIFACTORY_TOKEN }}
15-
GITHUB_REF_LOCAL: ${{ github.ref }}
15+
GITHUB_REF_LOCAL: ${{ github.ref || format('{0}{1}', 'refs/tags/', github.event.release.tag_name) }}
1616

1717
strategy:
1818
matrix:

0 commit comments

Comments
 (0)