|
56 | 56 |
|
57 | 57 | # Install Node.js:
|
58 | 58 | - name: 'Install Node.js'
|
59 |
| -uses: actions/setup-node@v2 |
| 59 | +uses: actions/setup-node@v3 |
60 | 60 | with:
|
61 | 61 | node-version: 16
|
62 | 62 | timeout-minutes: 5
|
@@ -141,7 +141,7 @@ jobs:
|
141 | 141 |
|
142 | 142 | # Install Node.js:
|
143 | 143 | - name: 'Install Node.js'
|
144 |
| -uses: actions/setup-node@v2 |
| 144 | +uses: actions/setup-node@v3 |
145 | 145 | with:
|
146 | 146 | node-version: 16
|
147 | 147 | timeout-minutes: 5
|
@@ -198,9 +198,9 @@ jobs:
|
198 | 198 | git fetch --all
|
199 | 199 | git ls-remote --exit-code --heads origin deno
|
200 | 200 | if [ $? -eq 0 ]; then
|
201 |
| -echo "::set-output name=remote-exists::true" |
| 201 | +echo "remote-exists=true" >> $_OUTPUT |
202 | 202 | else
|
203 |
| -echo "::set-output name=remote-exists::false" |
| 203 | +echo "remote-exists=false" >> $_OUTPUT |
204 | 204 | fi
|
205 | 205 |
|
206 | 206 | # If `deno` exists, delete everything in branch and merge `production` into it
|
@@ -242,7 +242,7 @@ jobs:
|
242 | 242 |
|
243 | 243 | # Install Node.js:
|
244 | 244 | - name: 'Install Node.js'
|
245 |
| -uses: actions/setup-node@v2 |
| 245 | +uses: actions/setup-node@v3 |
246 | 246 | with:
|
247 | 247 | node-version: 16
|
248 | 248 | timeout-minutes: 5
|
@@ -364,9 +364,9 @@ jobs:
|
364 | 364 | git fetch --all
|
365 | 365 | git ls-remote --exit-code --heads origin umd
|
366 | 366 | if [ $? -eq 0 ]; then
|
367 |
| -echo "::set-output name=remote-exists::true" |
| 367 | +echo "remote-exists=true" >> $_OUTPUT |
368 | 368 | else
|
369 |
| -echo "::set-output name=remote-exists::false" |
| 369 | +echo "remote-exists=false" >> $_OUTPUT |
370 | 370 | fi
|
371 | 371 |
|
372 | 372 | # If `umd` exists, delete everything in branch and merge `production` into it
|
@@ -400,7 +400,7 @@ jobs:
|
400 | 400 |
|
401 | 401 | # Install Node.js
|
402 | 402 | - name: 'Install Node.js'
|
403 |
| -uses: actions/setup-node@v2 |
| 403 | +uses: actions/setup-node@v3 |
404 | 404 | with:
|
405 | 405 | node-version: 16
|
406 | 406 | timeout-minutes: 5
|
@@ -417,7 +417,7 @@ jobs:
|
417 | 417 | id: extract-alias
|
418 | 418 | run: |
|
419 | 419 | alias=$(grep -E 'require\(' README.md | head -n 1 | sed -E 's/^var ([a-zA-Z0-9_]+) = .+/\1/')
|
420 |
| -echo "::set-output name=alias::${alias}" |
| 420 | +echo "alias=${alias}" >> $_OUTPUT |
421 | 421 |
|
422 | 422 | # Create Universal Module Definition (UMD) Node.js bundle:
|
423 | 423 | - name: 'Create Universal Module Definition (UMD) Node.js bundle'
|
@@ -528,9 +528,9 @@ jobs:
|
528 | 528 | git fetch --all
|
529 | 529 | git ls-remote --exit-code --heads origin esm
|
530 | 530 | if [ $? -eq 0 ]; then
|
531 |
| -echo "::set-output name=remote-exists::true" |
| 531 | +echo "remote-exists=true" >> $_OUTPUT |
532 | 532 | else
|
533 |
| -echo "::set-output name=remote-exists::false" |
| 533 | +echo "remote-exists=false" >> $_OUTPUT |
534 | 534 | fi
|
535 | 535 |
|
536 | 536 | # If `esm` exists, delete everything in branch and merge `production` into it
|
@@ -572,7 +572,7 @@ jobs:
|
572 | 572 |
|
573 | 573 | # Install Node.js:
|
574 | 574 | - name: 'Install Node.js'
|
575 |
| -uses: actions/setup-node@v2 |
| 575 | +uses: actions/setup-node@v3 |
576 | 576 | with:
|
577 | 577 | node-version: 16
|
578 | 578 | timeout-minutes: 5
|
@@ -695,10 +695,10 @@ jobs:
|
695 | 695 | VERSION_CHANGE_PKG_JSON=$(git diff HEAD~1 HEAD package.json | grep '"version":')
|
696 | 696 | if [ -z "$VERSION_CHANGE_PKG_JSON" ]; then
|
697 | 697 | echo "This workflow was not triggered by a version bump."
|
698 |
| -echo "::set-output name=bump::false" |
| 698 | +echo "bump=false" >> $_OUTPUT |
699 | 699 | else
|
700 | 700 | echo "This workflow was triggered by a version bump."
|
701 |
| -echo "::set-output name=bump::true" |
| 701 | +echo "bump=true" >> $_OUTPUT |
702 | 702 | fi
|
703 | 703 |
|
704 | 704 | # Configure git:
|
|
0 commit comments