From ffb4a59be8859808f6c6ec4d7ab1052853664729 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Thu, 2 Jun 2022 08:17:27 -0400 Subject: [PATCH] Update github variable to work with tags --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2306898b..5fb1fbcd 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -36,7 +36,7 @@ jobs: - name: Output variables to files run: | echo $GITHUB_REPOSITORY > /tmp/git_repository - echo $GITHUB_HEAD_REF > /tmp/git_head_ref + echo $GITHUB_REF_NAME > /tmp/git_head_ref echo "-----BEGIN OPENSSH PRIVATE KEY-----" >> /tmp/key echo ${{ env.BUILD_KEY }} >> /tmp/key echo "-----END OPENSSH PRIVATE KEY-----" >> /tmp/key