From 18777701e44cfdcac5d8625b58fb1bf8ab6aa6e9 Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Wed, 22 May 2024 14:43:56 -0400 Subject: [PATCH] Fix promote from release event --- .github/workflows/promote.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index cbbd7d0270ac..76a3194724ae 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -29,7 +29,7 @@ jobs: - name: Set GitHub Env vars if release event if: ${{ github.event_name == 'release' }} run: | - echo "TAG_NAME=${{ env.TAG_NAME }}" >> $GITHUB_ENV + echo "TAG_NAME=${{ github.event.release.tag_name }}" >> $GITHUB_ENV - name: Checkout awx uses: actions/checkout@v3