Merge pull request #26 from arunsathiya/main
ci: Use GITHUB_OUTPUT envvar instead of set-output command
This commit is contained in:
Коммит
2e24e5ed90
|
@ -45,11 +45,11 @@ jobs:
|
|||
> diff.txt
|
||||
|
||||
# If the diff file is not empty, it has changes.
|
||||
[ -s diff.txt ] && echo "::set-output name=has_change::true" || echo "::set-output name=has_change::false"
|
||||
[ -s diff.txt ] && echo "has_change=true" >> "$GITHUB_OUTPUT" || echo "has_change=false" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: set has_change to true for push to main/master
|
||||
if: github.event_name == 'push'
|
||||
run: echo "::set-output name=has_change::true"
|
||||
run: echo "has_change=true" >> "$GITHUB_OUTPUT"
|
||||
|
||||
acceptance-suite:
|
||||
needs: changes
|
||||
|
|
Загрузка…
Ссылка в новой задаче