From 63218aca7a3e267bfe1d7f79b6e76b1c38b42c98 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Tue, 12 Mar 2024 03:34:46 +0000 Subject: [PATCH] chore: Migrate away from set-env in update-api-list --- .github/workflows/update-api-list.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-api-list.yml b/.github/workflows/update-api-list.yml index 5d6d3501ba..0a6762a29b 100644 --- a/.github/workflows/update-api-list.yml +++ b/.github/workflows/update-api-list.yml @@ -25,10 +25,10 @@ jobs: run: | mix google_apis.discover_update apis.json if [ -n "$(git diff)" ]; then - echo "::set-env name=FOUND_CHANGES::true" + echo "FOUND_CHANGES=true" >> "$GITHUB_ENV" echo "Changes were made to apis.json" else - echo "::set-env name=FOUND_CHANGES::false" + echo "FOUND_CHANGES=false" >> "$GITHUB_ENV" echo "No changes were made to apis.json" fi - name: Push changes to branch