Merge pull request #4745 from estesp/fix-actions-cve
Update other actions for env/path CVE fix
This commit is contained in:
commit
618c8bd772
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
@ -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:
|
||||||
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user