ci: Use GITHUB_OUTPUT envvar instead of set-output command (#1526)
Co-authored-by: Matt White <16320656+matt-FFFFFF@users.noreply.github.com>
This commit is contained in:
Родитель
0c81c91150
Коммит
c71f0cf34f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче