Skip to content

Commit 211695c

Browse files
authored
Update GitHub Actions (#215)
1 parent 22c68c6 commit 211695c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2.3.4
14+
uses: actions/checkout@v3.5.2
1515
- name: Install node
16-
uses: actions/setup-node@v2.2.0
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version: '18.x'
1919
- name: Install Python
20-
uses: actions/setup-python@v2.2.2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.10'
2323
architecture: 'x64'
2424

2525

2626
- name: Setup pip cache
27-
uses: actions/cache@v2
27+
uses: actions/cache@v3
2828
with:
2929
path: ~/.cache/pip
3030
key: pip-3.8-${{ hashFiles('package.json') }}
@@ -34,9 +34,9 @@ jobs:
3434
3535
- name: Get yarn cache directory path
3636
id: yarn-cache-dir-path
37-
run: echo "::set-output name=dir::$(yarn cache dir)"
37+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
3838
- name: Setup yarn cache
39-
uses: actions/cache@v2
39+
uses: actions/cache@v3
4040
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
4141
with:
4242
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

0 commit comments

Comments
 (0)