Skip to content

Commit 66585d0

Browse files
committed
updated to use Github env variables due to action warning deprecating use of set-output
1 parent 6b37bf5 commit 66585d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-zarf-injector.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
run: |
4444
if git diff --quiet; then
4545
echo "No changes detected."
46-
echo "::set-output name=changes::false"
46+
echo "changes=false" >> $GITHUB_ENV
4747
else
4848
echo "Changes detected."
49-
echo "::set-output name=changes::true"
49+
echo "changes=true" >> $GITHUB_ENV
5050
fi
5151
5252
- name: Commit and push changes
53-
if: steps.git_status.outputs.changes == 'true'
53+
if: env.changes == 'true'
5454
run: |
5555
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5656
git config --global user.name "GitHub Actions Bot"

0 commit comments

Comments
 (0)