| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,7 +41,7 @@ jobs: | |||
| 41 | 41 | id: check | |
| 42 | 42 | run: | | |
| 43 | 43 | if [ -z "$GITHUB_BASE_REF" ]; then | |
| 44 | - echo '::set-output name=run_tests::true' | ||
| 44 | + echo "run_tests=true" >> $GITHUB_OUTPUT | ||
| 45 | 45 | else | |
| 46 | 46 | git fetch origin $GITHUB_BASE_REF --depth=1 | |
| 47 | 47 | # git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more | |
@@ -57,7 +57,7 @@ jobs: | |||
| 57 | 57 | # into the PR branch anyway. | |
| 58 | 58 | # | |
| 59 | 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 | ||
| 60 | + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo "run_tests=true" >> $GITHUB_OUTPUT || true | ||
| 61 | 61 | fi | |
| 62 | 62 | ||
| 63 | 63 | check_generated_files: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments