Skip to content

Commit 6097883

Browse files
authored
Merge pull request #4747 from estesp/fix-gha-cve-1.3
[release/1.3] Fix release.yml script for GH Actions changes to env/path
2 parents e97ecf4 + 8fcab2e commit 6097883

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)