Update other actions for env/path CVE fix

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes 2020-11-17 14:20:48 -05:00
parent 340ab572de
commit 159fb2e7e2
No known key found for this signature in database
GPG Key ID: 0F386284C03A1162
2 changed files with 8 additions and 8 deletions

View File

@ -27,8 +27,8 @@ jobs:
- name: Set env - name: Set env
shell: bash shell: bash
run: | run: |
echo "::set-env name=GOPATH::${{ github.workspace }}" echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "::add-path::${{ github.workspace }}/bin" echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
# #
# Build # Build
@ -140,8 +140,8 @@ jobs:
- name: Set env - name: Set env
shell: bash shell: bash
run: | run: |
echo "::set-env name=GOPATH::${{ github.workspace }}" echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "::add-path::${{ github.workspace }}/bin" echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Build amd64 - name: Build amd64
env: env:

View File

@ -75,10 +75,10 @@ jobs:
[[ "${MOS}" =~ "windows" ]] && { [[ "${MOS}" =~ "windows" ]] && {
os=windows os=windows
} }
echo "::set-env name=RELEASE_VER::${releasever}" echo "RELEASE_VER=${releasever}" >> $GITHUB_ENV
echo "::set-env name=GOPATH::${{ github.workspace }}" echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "::set-env name=OS::${os}" echo "OS=${os}" >> $GITHUB_ENV
echo "::add-path::${{ github.workspace }}/bin" echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Checkout containerd - name: Checkout containerd
uses: actions/checkout@v2 uses: actions/checkout@v2