Skip to content

Commit a5fe003

Browse files
committed
ci/gha: replace usage of deprecated features
checkouts@v2, cancel-workflow-action@0.9.1 and download-artifact@v2 use the deprecated Node.js v12. set-output as an stdout command was replaced with writing to a special file.
1 parent 7988397 commit a5fe003

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/emscripten.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Cancel previous runs
14-
uses: styfle/cancel-workflow-action@0.9.1
14+
uses: styfle/cancel-workflow-action@0.11.0
1515
with:
1616
access_token: ${{ github.token }}
1717
all_but_latest: true
1818

1919
- name: Checkout Base Repo
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Prepare Submodules
2323
run: |
@@ -31,7 +31,7 @@ jobs:
3131
# Invalidate cache if submodules, patches or emscripten version changed
3232
key="$(find build/patches/ -type f | sort | xargs cat .gitmodules Dockerfile \
3333
Makefile Makefile_licence | shasum -a 256 | cut -d' ' -f1)"
34-
echo "::set-output name=key::0-${key}"
34+
echo "key=0-${key}" >> $GITHUB_OUTPUT
3535
3636
- name: Ensure Cache will be newer than Checkout
3737
run: |
@@ -79,15 +79,15 @@ jobs:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- name: Checkout
82-
uses: actions/checkout@v2
82+
uses: actions/checkout@v3
8383
with:
8484
ref: gh-pages
8585

8686
- name: Remove old assets
8787
run: rm -fr assets/js
8888

8989
- name: Download nightly build
90-
uses: actions/download-artifact@v2
90+
uses: actions/download-artifact@v3
9191
with:
9292
name: js
9393
path: assets/js

0 commit comments

Comments
 (0)