Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set-output
1 parent f58631b commit 1db2a0cCopy full SHA for 1db2a0c
1 file changed
.github/workflows/build.yml
@@ -41,7 +41,7 @@ jobs:
41
id: check
42
run: |
43
if [ -z "$GITHUB_BASE_REF" ]; then
44
- echo '::set-output name=run_tests::true'
+ echo "run_tests=true" >> $GITHUB_OUTPUT
45
else
46
git fetch origin $GITHUB_BASE_REF --depth=1
47
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
@@ -57,7 +57,7 @@ jobs:
57
# into the PR branch anyway.
58
#
59
# https://github.com/python/core-workflow/issues/373
60
- git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true
61
fi
62
63
check_generated_files:
0 commit comments