Skip to content

Commit

Permalink
Use GITHUB_OUTPUT instead of set-output GitHub Actions (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Jul 8, 2024
1 parent e5c4000 commit 646d337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-notice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
git fetch origin
if git ls-tree --name-only origin/main | grep -q '^NOTICE.MD$'; then
if git diff --exit-code origin/main -- NOTICE.MD; then
echo "::set-output name=changed::false"
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "::set-output name=changed::true"
echo "changed=true" >> $GITHUB_OUTPUT
fi
else
echo "::set-output name=changed::true"
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Close existing PRs
Expand Down

0 comments on commit 646d337

Please sign in to comment.