Skip to content

Commit d4f6382

Browse files
authored
Update build-readme.yml
1 parent fcb283f commit d4f6382

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build-readme.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,23 @@ jobs:
1010
Build:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [16.x]
16-
1713
steps:
1814
- uses: actions/checkout@v3
1915
with:
2016
ref: ${{ github.head_ref }}
2117
fetch-depth: 1
2218

2319
- name: Use Node.js (dependency)
24-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v3
2521
with:
26-
node-version: ${{ matrix.node-version }}
22+
node-version: 16
2723

2824
- name: Completion Table
2925
run: node ./.github/workflows/updateCompletionTable.js;
3026

3127
- name: Check for modified files
3228
id: git-check
33-
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
29+
run: echo name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT
3430

3531
- name: Push
3632
if: steps.git-check.outputs.modified == 'true'

0 commit comments

Comments
 (0)