From 81cd7f0af67dcb67ea70bf26e772314b3a9dffc4 Mon Sep 17 00:00:00 2001 From: deannagarcia <69992229+deannagarcia@users.noreply.github.com> Date: Wed, 1 Feb 2023 08:50:08 -0800 Subject: [PATCH] Fix update php repo GHA. (#11741) Environment variables need to be accessed with the "env." prefix. PiperOrigin-RevId: 506147851 --- .github/workflows/update_php_repo.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_php_repo.yml b/.github/workflows/update_php_repo.yml index 4af48dc107..ed2199ffa3 100644 --- a/.github/workflows/update_php_repo.yml +++ b/.github/workflows/update_php_repo.yml @@ -42,7 +42,7 @@ jobs: rm -rf protobuf - name: Push Changes run: | - git commit -a -m "$VERSION sync" + git commit -a -m "${{ env.VERSION }} sync" git push --force origin master - git tag -a $VERSION_TAG -m "Tag release $VERSION_TAG" - git push origin $VERSION_TAG + git tag -a ${{ env.VERSION_TAG }} -m "Tag release ${{ env.VERSION_TAG }}" + git push origin ${{ env.VERSION_TAG }}