Skip to content

Commit 6965a8b

Browse files
Migrate from legacy ::set-output in GitHub Workflows (#113)
Co-authored-by: git-bulk-replace <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a65bcaa commit 6965a8b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/changesets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: find pnpm cache path
3030
id: cache
31-
run: echo "::set-output name=path::$(pnpm store path)"
31+
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
3232

3333
- uses: actions/cache@v3
3434
with:

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: find pnpm cache path
2323
id: cache
24-
run: echo "::set-output name=path::$(pnpm store path)"
24+
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
2525

2626
- uses: actions/cache@v3
2727
with:
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: find pnpm cache path
5151
id: cache
52-
run: echo "::set-output name=path::$(pnpm store path)"
52+
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
5353

5454
- uses: actions/cache@v3
5555
with:
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: find pnpm cache path
7979
id: cache
80-
run: echo "::set-output name=path::$(pnpm store path)"
80+
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
8181

8282
- uses: actions/cache@v3
8383
with:
@@ -111,7 +111,7 @@ jobs:
111111

112112
- name: find pnpm cache path
113113
id: cache
114-
run: echo "::set-output name=path::$(pnpm store path)"
114+
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT
115115

116116
- uses: actions/cache@v3
117117
with:

0 commit comments

Comments
 (0)