Skip to content

Commit

Permalink
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#1526)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com>
  • Loading branch information
arunsathiya and matt-FFFFFF authored Jun 6, 2024
1 parent 0c81c91 commit c71f0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-alz-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c71f0cf

Please sign in to comment.