@@ -448,22 +448,27 @@ jobs:
448448 - get-called-ref
449449 if : ${{ !cancelled() && (needs.run-unit-tests-3_7.result == 'success' || needs.run-unit-tests-3_7.result == 'skipped') }}
450450 outputs :
451- buildname : ${{ fromJSON( steps.build.outputs.outputs) .buildname }}
451+ buildname : ${{ steps.build.outputs.buildname }}
452452 permissions :
453453 contents : write
454454 packages : read
455455 steps :
456+ - name : Checkout repository
457+ uses : actions/checkout@v3
458+ with :
459+ # Very Important: semantic-release won't trigger a tagged
460+ # build if this is not set to false
461+ persist-credentials : false
456462 - name : Checkout repository
457463 uses : jenseng/dynamic-uses@v1
458464 env :
459- repository : splunk/addonfactory-workflow-addon-release
460- ref : ${{ needs.get-called-ref.outputs.ref }}
465+ repositories : splunk/addonfactory-workflow-addon-release@${{ needs.get-called-ref.outputs.ref }}
461466 with :
462- uses : actions/ checkout@v3
467+ uses : vweevers/multi- checkout-action@v1
463468 with : ${{ toJSON(env) }}
464469 - name : Run build 3.7
470+ uses : ./../splunk/addonfactory-workflow-addon-release/.github/actions/build
465471 id : build
466- uses : ./.github/actions/build
467472 with :
468473 python_version : " 3.7"
469474 SA_GH_USER_NAME : ${{ secrets.SA_GH_USER_NAME }}
@@ -494,27 +499,32 @@ jobs:
494499 contents : write
495500 packages : read
496501 steps :
502+ - name : Checkout repository
503+ uses : actions/checkout@v3
504+ with :
505+ # Very Important: semantic-release won't trigger a tagged
506+ # build if this is not set to false
507+ persist-credentials : false
497508 - name : Checkout repository
498509 uses : jenseng/dynamic-uses@v1
499510 env :
500- repository : splunk/addonfactory-workflow-addon-release
501- ref : ${{ needs.get-called-ref.outputs.ref }}
511+ repositories : splunk/addonfactory-workflow-addon-release@${{ needs.get-called-ref.outputs.ref }}
502512 with :
503- uses : actions/ checkout@v3
513+ uses : vweevers/multi- checkout-action@v1
504514 with : ${{ toJSON(env) }}
505515 - name : Run build 3.9
506- uses : ./.github/actions/build
507- with :
508- python_version : " 3.9"
509- SA_GH_USER_NAME : ${{ secrets.SA_GH_USER_NAME }}
510- SA_GH_USER_EMAIL : ${{ secrets.SA_GH_USER_EMAIL }}
511- SA_GPG_PRIVATE_KEY : ${{ secrets.SA_GPG_PRIVATE_KEY }}
512- SA_GPG_PASSPHRASE : ${{ secrets.SA_GPG_PASSPHRASE }}
513- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
514- AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION }}
515- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
516- ucc_modinput_functional : ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
517- modinput_functional : ${{ needs.test-inventory.outputs.modinput_functional}}
516+ uses : ./../splunk/addonfactory-workflow-addon-release/. github/actions/build
517+ with :
518+ python_version : " 3.9"
519+ SA_GH_USER_NAME : ${{ secrets.SA_GH_USER_NAME }}
520+ SA_GH_USER_EMAIL : ${{ secrets.SA_GH_USER_EMAIL }}
521+ SA_GPG_PRIVATE_KEY : ${{ secrets.SA_GPG_PRIVATE_KEY }}
522+ SA_GPG_PASSPHRASE : ${{ secrets.SA_GPG_PASSPHRASE }}
523+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
524+ AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION }}
525+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
526+ ucc_modinput_functional : ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
527+ modinput_functional : ${{ needs.test-inventory.outputs.modinput_functional}}
518528
519529 virustotal :
520530 continue-on-error : true
0 commit comments