Skip to content

Commit 2e20f55

Browse files
committed
Remove set-output GitHub action command
Removes deprecated set-output GitHub action command. Signed-off-by: Austin Vazquez <[email protected]>
1 parent 2dcc42b commit 2e20f55

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
echo "invalid GO version"
2525
exit 1
2626
fi
27-
echo "::set-output name=GO_VERSION::$go_version"
28-
- uses: actions/setup-go@v2
27+
echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT
28+
- uses: actions/setup-go@v3
2929
with:
3030
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
3131
- uses: actions/checkout@v2

.github/workflows/static.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
echo "invalid GO version"
2525
exit 1
2626
fi
27-
echo "::set-output name=GO_VERSION::$go_version"
28-
- uses: actions/setup-go@v2
27+
echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT
28+
- uses: actions/setup-go@v3
2929
with:
3030
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
3131
- uses: actions/checkout@v2
@@ -60,8 +60,8 @@ jobs:
6060
echo "invalid GO version"
6161
exit 1
6262
fi
63-
echo "::set-output name=GO_VERSION::$go_version"
64-
- uses: actions/setup-go@v2
63+
echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT
64+
- uses: actions/setup-go@v3
6565
with:
6666
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
6767
- uses: actions/checkout@v2
@@ -96,8 +96,8 @@ jobs:
9696
echo "invalid GO version"
9797
exit 1
9898
fi
99-
echo "::set-output name=GO_VERSION::$go_version"
100-
- uses: actions/setup-go@v2
99+
echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT
100+
- uses: actions/setup-go@v3
101101
with:
102102
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
103103
- uses: actions/checkout@v2

.github/workflows/windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
echo "invalid GO version"
2424
exit 1
2525
}
26-
Write-Output "::set-output name=GO_VERSION_WINDOWS::$go_version_win"
27-
- uses: actions/setup-go@v2
26+
Write-Output "GO_VERSION_WINDOWS=$go_version_win" >> $GITHUB_OUTPUT
27+
- uses: actions/setup-go@v3
2828
with:
2929
go-version: ${{ steps.get-go-version.outputs.GO_VERSION_WINDOWS }}
3030
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)