File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -151,21 +151,21 @@ runs:
151151 echo "${{ inputs.ucc_modinput_functional }}"
152152
153153 - name : Artifact OpenAPI
154- if : inputs.python_version == '3.7' && !cancelled() && inputs.ucc_modinput_functional == 'true' && inputs.modinput_functional == 'true'
154+ if : ${{ inputs.python_version }} == '3.7' && ${{ !cancelled() && inputs.ucc_modinput_functional == 'true' && inputs.modinput_functional == 'true' }}
155155 uses : actions/upload-artifact@v3
156156 with :
157157 name : artifact-openapi
158158 path : ${{ github.workspace }}/${{ steps.uccgen.outputs.OUTPUT }}/static/openapi.json
159159
160160 - name : Artifact Splunkbase
161- if : ${{ !cancelled() }} && inputs.python_version == '3.7'
161+ if : ${{ !cancelled() }} && ${{ inputs.python_version }} == '3.7'
162162 uses : actions/upload-artifact@v3
163163 with :
164164 name : package-splunkbase
165165 path : ${{ steps.slim.outputs.OUTPUT }}
166166
167167 - name : Upload build to S3
168- if : inputs.python_version == '3.7'
168+ if : ${{ inputs.python_version }} == '3.7'
169169 id : buildupload
170170 shell : bash
171171 env :
@@ -178,7 +178,7 @@ runs:
178178 aws s3 cp "${{ steps.slim.outputs.OUTPUT }}" s3://ta-production-artifacts/ta-apps/
179179
180180 - name : Artifact Splunk parts
181- if : ${{ !cancelled() }} && inputs.python_version == '3.7'
181+ if : ${{ !cancelled() }} && ${{ inputs.python_version }} == '3.7'
182182 uses : actions/upload-artifact@v3
183183 with :
184184 name : package-deployment
Original file line number Diff line number Diff line change @@ -262,8 +262,6 @@ jobs:
262262 - review-secrets
263263 - semgrep
264264 - run-unit-tests-3_7
265- - fossa-scan
266- - get-called-ref
267265 strategy :
268266 fail-fast : false
269267 matrix :
@@ -275,9 +273,9 @@ jobs:
275273 contents : write
276274 packages : read
277275 steps :
278- - uses : jenseng/dynamic-uses@v1
279- # inputs to `dynamic- uses` step
280- env :
276+ - name : Run build
277+ uses : splunk/addonfactory-workflow-addon-release/.github/actions/build@fix/lightweight-workflow-ADDON-66448
278+ with :
281279 python_version : ${{ matrix.python-version }}
282280 SA_GH_USER_NAME : ${{ secrets.SA_GH_USER_NAME }}
283281 SA_GH_USER_EMAIL : ${{ secrets.SA_GH_USER_EMAIL }}
@@ -288,10 +286,6 @@ jobs:
288286 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
289287 ucc_modinput_functional : ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
290288 modinput_functional : ${{ needs.test-inventory.outputs.modinput_functional}}
291- with :
292- uses : splunk/addonfactory-workflow-addon-release/.github/actions/build@${{ needs.get-called-ref.outputs.ref }}
293- # inputs need to provided as a valid JSON string
294- with : ${{ toJSON(env) }}
295289
296290 virustotal :
297291 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments