Skip to content

Commit 8fcab2e

Browse files
committed
Fix release.yml script for GH Actions changes to env/path
Signed-off-by: Phil Estes <[email protected]>
1 parent e97ecf4 commit 8fcab2e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ jobs:
7575
[[ "${MOS}" =~ "windows" ]] && {
7676
os=windows
7777
}
78-
echo "::set-env name=RELEASE_VER::${releasever}"
79-
echo "::set-env name=GOPATH::${{ github.workspace }}"
80-
echo "::set-env name=OS::${os}"
81-
echo "::add-path::${{ github.workspace }}/bin"
78+
echo "RELEASE_VER=${releasever}" >> $GITHUB_ENV
79+
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
80+
echo "OS=${os}" >> $GITHUB_ENV
81+
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
8282
8383
- name: Checkout containerd
8484
uses: actions/checkout@v2

0 commit comments

Comments
 (0)