Skip to content

Commit 51c8ded

Browse files
committed
ci: Use GITHUB_OUTPUT envvar instead of set-output command
1 parent f9b81cf commit 51c8ded

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/acceptance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
> diff.txt
4545
4646
# If the diff file is not empty, it has changes.
47-
[ -s diff.txt ] && echo "::set-output name=has_change::true" || echo "::set-output name=has_change::false"
47+
[ -s diff.txt ] && echo "has_change=true" >> $GITHUB_OUTPUT || echo "has_change=false" >> $GITHUB_OUTPUT
4848
4949
- name: set has_change to true for push to main/master
5050
if: github.event_name == 'push'
51-
run: echo "::set-output name=has_change::true"
51+
run: echo "has_change=true" >> $GITHUB_OUTPUT
5252

5353
acceptance-suite:
5454
needs: changes

0 commit comments

Comments
 (0)