File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 GOPATH : ${{ runner.workspace }}
2424 GO111MODULE : off
2525 with :
26- path : ./src/github.com/containerd/containerd
26+ path : src/github.com/containerd/containerd
27+
28+ - name : Set env
29+ shell : bash
30+ run : |
31+ echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
32+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
2733
2834 #
2935 # Build
@@ -134,7 +140,13 @@ jobs:
134140 GOPATH : ${{ runner.workspace }}
135141 GO111MODULE : off
136142 with :
137- path : ./src/github.com/containerd/containerd
143+ path : src/github.com/containerd/containerd
144+
145+ - name : Set env
146+ shell : bash
147+ run : |
148+ echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
149+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
138150
139151 - name : Build amd64
140152 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