Fix set output handling for DOCS_CHANGE env (#44789)
This commit is contained in:
parent
52c22de790
commit
636d00e36d
2 changed files with 4 additions and 4 deletions
4
.github/workflows/build_test_deploy.yml
vendored
4
.github/workflows/build_test_deploy.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
run: sudo ethtool -K eth0 tx off rx off
|
||||
|
||||
- name: Check non-docs only change
|
||||
run: echo "DOCS_CHANGE=$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT
|
||||
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
|
||||
id: docs-change
|
||||
|
||||
- run: echo ${{steps.docs-change.outputs.DOCS_CHANGE}}
|
||||
|
@ -915,7 +915,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 25
|
||||
|
||||
- run: echo "DOCS_CHANGE=$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT
|
||||
- run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
|
||||
id: docs-change
|
||||
|
||||
- name: Cache cargo registry
|
||||
|
|
4
.github/workflows/pull_request_stats.yml
vendored
4
.github/workflows/pull_request_stats.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
|||
fetch-depth: 25
|
||||
|
||||
- name: Check non-docs only change
|
||||
run: echo "DOCS_CHANGE=$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT
|
||||
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
|
||||
id: docs-change
|
||||
|
||||
- name: Cache cargo registry
|
||||
|
@ -106,7 +106,7 @@ jobs:
|
|||
fetch-depth: 25
|
||||
|
||||
- name: Check non-docs only change
|
||||
run: echo "DOCS_CHANGE=$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT
|
||||
run: echo "DOCS_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --not --type docs --exec echo 'nope')" >> $GITHUB_OUTPUT; echo 'EOF' >> $GITHUB_OUTPUT
|
||||
id: docs-change
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
|
|
Loading…
Reference in a new issue