Merge pull request #4745 from estesp/fix-actions-cve

Update other actions for env/path CVE fix
This commit is contained in:
Phil Estes 2020-11-17 15:28:03 -05:00 committed by GitHub
commit 618c8bd772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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