|
| 1 | +name: Starter Workflow |
| 2 | +on: [workflow_dispatch, push, pull_request] |
| 3 | + |
| 4 | +jobs: |
| 5 | + call-create-github-release-workflow: |
| 6 | + uses: Keyfactor/actions/.github/workflows/github-release.yml@main |
| 7 | + |
| 8 | + call-assign-from-json-workflow: |
| 9 | + uses: Keyfactor/actions/.github/workflows/assign-env-from-json.yml@main |
| 10 | + |
| 11 | + call-dotnet-build-and-release-workflow: |
| 12 | + needs: [call-create-github-release-workflow, call-assign-from-json-workflow] |
| 13 | + uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main |
| 14 | + with: |
| 15 | + release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }} |
| 16 | + release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }} |
| 17 | + release_dir: ${{ needs.call-assign-from-json-workflow.outputs.release_dir }} |
| 18 | + |
| 19 | + secrets: |
| 20 | + token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }} |
| 21 | + |
| 22 | + call-generate-readme-workflow: |
| 23 | + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' |
| 24 | + uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main |
| 25 | + secrets: |
| 26 | + token: ${{ secrets.APPROVE_README_PUSH }} |
| 27 | + |
| 28 | + call-update-catalog-workflow: |
| 29 | + needs: call-assign-from-json-workflow |
| 30 | + if: needs.call-assign-from-json-workflow.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') |
| 31 | + uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main |
| 32 | + secrets: |
| 33 | + token: ${{ secrets.SDK_SYNC_PAT }} |
| 34 | + |
| 35 | + call-update-store-types-workflow: |
| 36 | + needs: call-assign-from-json-workflow |
| 37 | + if: needs.call-assign-from-json-workflow.outputs.integration_type == 'orchestrator' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') |
| 38 | + uses: Keyfactor/actions/.github/workflows/update-store-types.yml@main |
| 39 | + secrets: |
| 40 | + token: ${{ secrets.UPDATE_STORE_TYPES }} |
0 commit comments