From 3d16caf322a23d6083f4bb7aee138cede8db3929 Mon Sep 17 00:00:00 2001
From: Deanna Garcia <deannagarcia@google.com>
Date: Tue, 31 Jan 2023 16:20:20 -0800
Subject: [PATCH] Fix update php repo GHA.

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 }}