Skip to content

Commit 295000b

Browse files
authored
Merge pull request #89 from perpetual-protocol/upgrade-github-workflow
upgrade GitHub workflow for new syntax
2 parents cfb7616 + f9a2aba commit 295000b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish-npm-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Get npm cache directory
2525
id: npm-cache
2626
run: |
27-
echo "::set-output name=dir::$(npm config get cache)"
27+
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
2828
- uses: actions/cache@v2
2929
with:
3030
path: |

.github/workflows/testing.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Get npm cache directory
2121
id: npm-cache
2222
run: |
23-
echo "::set-output name=dir::$(npm config get cache)"
23+
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
2424
- uses: actions/cache@v2
2525
with:
2626
path: |
@@ -59,7 +59,7 @@ jobs:
5959
- name: Get npm cache directory
6060
id: npm-cache
6161
run: |
62-
echo "::set-output name=dir::$(npm config get cache)"
62+
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
6363
- uses: actions/cache@v2
6464
with:
6565
path: |
@@ -101,7 +101,7 @@ jobs:
101101
- name: Get npm cache directory
102102
id: npm-cache
103103
run: |
104-
echo "::set-output name=dir::$(npm config get cache)"
104+
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
105105
- uses: actions/cache@v2
106106
with:
107107
path: |

0 commit comments

Comments
 (0)