File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2727 - name : Set env
2828 shell : bash
2929 run : |
30- echo "::set-env name= GOPATH:: ${{ github.workspace }}"
31- echo "::add-path:: ${{ github.workspace }}/bin"
30+ echo "GOPATH= ${{ github.workspace }}" >> $GITHUB_ENV
31+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
3232
3333 #
3434 # Build
@@ -140,8 +140,8 @@ jobs:
140140 - name : Set env
141141 shell : bash
142142 run : |
143- echo "::set-env name= GOPATH:: ${{ github.workspace }}"
144- echo "::add-path:: ${{ github.workspace }}/bin"
143+ echo "GOPATH= ${{ github.workspace }}" >> $GITHUB_ENV
144+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
145145
146146 - name : Build amd64
147147 env :
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments