File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 55 call-create-github-release-workflow :
66 uses : Keyfactor/actions/.github/workflows/github-release.yml@main
77
8+ get-manifest-properties :
9+ runs-on : windows-latest
10+ outputs :
11+ update_catalog : ${{ steps.read-json.outputs.prop }}
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Read json
15+ id : read-json
16+ shell : pwsh
17+ run : |
18+ $json = Get-Content integration-manifest.json | ConvertFrom-Json
19+ echo "::set-output name=prop::$(echo $json.update_catalog)"
20+
821 call-dotnet-build-and-release-workflow :
922 needs : [call-create-github-release-workflow]
1023 uses : Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
1124 with :
1225 release_version : ${{ needs.call-create-github-release-workflow.outputs.release_version }}
1326 release_url : ${{ needs.call-create-github-release-workflow.outputs.release_url }}
14- release_dir : IISU/bin/Release/netcoreapp3.1
27+ release_dir : IISU/bin/Release/netcoreapp3.1
1528 secrets :
1629 token : ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
1730
2235 token : ${{ secrets.APPROVE_README_PUSH }}
2336
2437 call-update-catalog-workflow :
25- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
38+ needs : get-manifest-properties
39+ if : needs.get-manifest-properties.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
2640 uses : Keyfactor/actions/.github/workflows/update-catalog.yml@main
2741 secrets :
2842 token : ${{ secrets.SDK_SYNC_PAT }}
43+
44+
You can’t perform that action at this time.
0 commit comments