Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 01619ee

Browse files
Replace deprecated set-output in workflows
1 parent 1554d3d commit 01619ee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

‎.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020

2121
- name: Get Go cache paths
2222
id: go-cache-paths
23+
shell: bash
2324
run: |
24-
echo "::set-output name=go-build::$(go env GOCACHE)"
25-
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
25+
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
26+
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
2627
2728
- name: Go build cache
2829
uses: actions/cache@v4

‎.github/workflows/test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ jobs:
3939

4040
- name: Echo Go Cache Paths
4141
id: go-cache-paths
42+
shell: bash
4243
run: |
43-
echo "::set-output name=go-build::$(go env GOCACHE)"
44-
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
44+
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
45+
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
4546
4647
- name: Go Build Cache
4748
uses: actions/cache@v4

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /