From c71f0cf34fae5dd69c16a3b7c36eafe480af990f Mon Sep 17 00:00:00 2001 From: Arun Sathiya Date: Thu, 6 Jun 2024 10:45:13 -0700 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command (#1526) Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> --- .github/workflows/update-alz-tools.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-alz-tools.yml b/.github/workflows/update-alz-tools.yml index 5aa54efc94..35fb0b6426 100644 --- a/.github/workflows/update-alz-tools.yml +++ b/.github/workflows/update-alz-tools.yml @@ -81,7 +81,7 @@ jobs: run: | mapfile -t CHECK_GIT_STATUS < <(git status -s) printf "%s\n" "${CHECK_GIT_STATUS[@]}" - echo "::set-output name=changes::${#CHECK_GIT_STATUS[@]}" + echo "changes=${#CHECK_GIT_STATUS[@]}" >> "$GITHUB_OUTPUT" - name: Add files, commit and push if: steps.git_status.outputs.changes > 0