File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 11name : Generate and Sign Assertion Document
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ packageVersion :
7+ description : ' Agent version'
8+ type : string
9+ required : true
10+ artifactId :
11+ description : ' Artifact ID'
12+ type : string
13+ required : false
414 workflow_call :
515 inputs :
616 packageVersion :
@@ -40,12 +50,20 @@ jobs:
4050 go-version-file : ' go.mod'
4151 cache : false
4252
43- - name : Download nginx-agent binaries
53+ - name : Download nginx-agent binary artifacts
54+ if : ${{ inputs.artifactId == '' }}
4455 uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
4556 with :
4657 name : nginx-agent-binaries-${{ inputs.packageVersion }}-${{ matrix.osarch }}
4758 path : binaries
4859
60+ - name : Download nginx-agent binary artifact by ID
61+ if : ${{ inputs.artifactId != '' }}
62+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # 6.0.0
63+ with :
64+ artifact-ids : ' ${{ inputs.artifactId }}'
65+ path : binaries
66+
4967 - name : Gather build dependencies
5068 id : godeps
5169 run : |
83101 uses : nginxinc/compliance-rules/.github/actions/sign@83e452166aaf0ad8f07caf91a4f1f903b3dea1e6 # v0.3.0
84102 with :
85103 assertion-doc : ${{ steps.assertiondoc.outputs.assertion-document-path }}
86- path : ./artifacts
You can’t perform that action at this time.
0 commit comments