Skip to content

Commit 2e24e5e

Browse files
authored
Merge pull request #26 from arunsathiya/main
ci: Use GITHUB_OUTPUT envvar instead of set-output command
2 parents d99d088 + 0547095 commit 2e24e5e

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
@@ -45,11 +45,11 @@ jobs:
4545
> diff.txt
4646
4747
# If the diff file is not empty, it has changes.
48-
[ -s diff.txt ] && echo "::set-output name=has_change::true" || echo "::set-output name=has_change::false"
48+
[ -s diff.txt ] && echo "has_change=true" >> "$GITHUB_OUTPUT" || echo "has_change=false" >> "$GITHUB_OUTPUT"
4949
5050
- name: set has_change to true for push to main/master
5151
if: github.event_name == 'push'
52-
run: echo "::set-output name=has_change::true"
52+
run: echo "has_change=true" >> "$GITHUB_OUTPUT"
5353

5454
acceptance-suite:
5555
needs: changes

0 commit comments

Comments
 (0)