File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ jobs:
221221
222222 - name : Setup package build environment
223223 run : |
224+ go mod tidy
224225 go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${{ env.NFPM_VERSION }}
225226 sudo apt-get update
226227 sudo apt-get install -y gpgv1 monkeysphere
@@ -301,18 +302,25 @@ jobs:
301302 with :
302303 ref : improve-assertion-doc-generation
303304
305+ - name : Setup go
306+ uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
307+ with :
308+ go-version-file : ' go.mod'
309+ cache : false
310+
304311 - name : Download nginx-agent binaries
305312 uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
306313 with :
307- name : nginx-agent-binaries-${{ inputs.packageVersion }}-${{ matrix.osarch }}
314+ name : nginx-agent-binaries-${{ inputs.packageVersion }}-${{ matrix.osarch }}]
315+ path : binaries
308316
309317 - name : Gather build dependencies
310318 id : godeps
311319 run : |
312- ls -la artifacts
313- echo "agent_digest=$(cat artifacts /nginx-agent.sha256)" >> $GITHUB_ENV
314- echo "agent_buildstart=$(cat artifacts /nginx-agent.buildstart)" >> $GITHUB_ENV
315- echo "agent_buildend=$(cat artifacts /nginx-agent.buildend)" >> $GITHUB_ENV
320+ ls -la binaries
321+ echo "agent_digest=$(cat binaries /nginx-agent.sha256)" >> $GITHUB_ENV
322+ echo "agent_buildstart=$(cat binaries /nginx-agent.buildstart)" >> $GITHUB_ENV
323+ echo "agent_buildend=$(cat binaries /nginx-agent.buildend)" >> $GITHUB_ENV
316324
317325 echo "Checking dependencies..."
318326 go version -m build/${{ matrix.osarch }}/nginx-agent > goversionm_${{ github.run_id }}_${{ github.run_number }}.txt
You can’t perform that action at this time.
0 commit comments