summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2022-10-25 03:03:02 (GMT)
committerGitHub <noreply@github.com>2022-10-25 03:03:02 (GMT)
commit5fb3b6111461f513b9566c9dcc96dff2a1ca8840 (patch)
treea8a1ad774e4444e785111a45ba6d71aca6d3af9c /.github/workflows
parentb3cafb60afeb2300002af9982d43703435b8302d (diff)
downloadcpython-5fb3b6111461f513b9566c9dcc96dff2a1ca8840.zip
cpython-5fb3b6111461f513b9566c9dcc96dff2a1ca8840.tar.gz
cpython-5fb3b6111461f513b9566c9dcc96dff2a1ca8840.tar.bz2
[3.11] gh-98456: Replace deprecated `set-output` with up-to-date vers… (gh-98565)
[3.11] gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457). (cherry picked from commit 1db2a0cb20a1de5231a73fc7381056d725e90535) Co-authored-by: Noam Cohen <noam@noam.me> Co-authored-by: Noam Cohen <noam@noam.me>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cba0eac..38dbb13 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -42,8 +42,8 @@ jobs:
id: check
run: |
if [ -z "$GITHUB_BASE_REF" ]; then
- echo '::set-output name=run_tests::true'
- echo '::set-output name=run_ssl_tests::true'
+ echo "run_tests=true" >> $GITHUB_OUTPUT
+ echo "run_ssl_tests=true" >> $GITHUB_OUTPUT
else
git fetch origin $GITHUB_BASE_REF --depth=1
# git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
@@ -59,8 +59,8 @@ jobs:
# into the PR branch anyway.
#
# https://github.com/python/core-workflow/issues/373
- 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 -qE '(ssl|hashlib|hmac|^.github)' && echo '::set-output name=run_ssl_tests::true' || true
+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true
+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE '(ssl|hashlib|hmac|^.github)' && echo "run_ssl_tests=true" >> $GITHUB_OUTPUT || true
fi
check_abi: