@@ -448,22 +448,27 @@ jobs:
448
448
- get-called-ref
449
449
if : ${{ !cancelled() && (needs.run-unit-tests-3_7.result == 'success' || needs.run-unit-tests-3_7.result == 'skipped') }}
450
450
outputs :
451
- buildname : ${{ fromJSON( steps.build.outputs.outputs) .buildname }}
451
+ buildname : ${{ steps.build.outputs.buildname }}
452
452
permissions :
453
453
contents : write
454
454
packages : read
455
455
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
456
462
- name : Checkout repository
457
463
uses : jenseng/dynamic-uses@v1
458
464
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 }}
461
466
with :
462
- uses : actions/ checkout@v3
467
+ uses : vweevers/multi- checkout-action@v1
463
468
with : ${{ toJSON(env) }}
464
469
- name : Run build 3.7
470
+ uses : ./../splunk/addonfactory-workflow-addon-release/.github/actions/build
465
471
id : build
466
- uses : ./.github/actions/build
467
472
with :
468
473
python_version : " 3.7"
469
474
SA_GH_USER_NAME : ${{ secrets.SA_GH_USER_NAME }}
@@ -494,27 +499,32 @@ jobs:
494
499
contents : write
495
500
packages : read
496
501
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
497
508
- name : Checkout repository
498
509
uses : jenseng/dynamic-uses@v1
499
510
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 }}
502
512
with :
503
- uses : actions/ checkout@v3
513
+ uses : vweevers/multi- checkout-action@v1
504
514
with : ${{ toJSON(env) }}
505
515
- 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}}
518
528
519
529
virustotal :
520
530
continue-on-error : true
0 commit comments