Skip to content

Commit 73e0e77

Browse files
Create keyfactor-starter-workflow.yml
1 parent c3a6e4c commit 73e0e77

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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-dotnet-build-and-release-workflow:
9+
needs: [call-create-github-release-workflow]
10+
uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
11+
with:
12+
release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
13+
release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
14+
release_dir: DataPower/bin/Release/netcoreapp3.1 # TODO: set build output directory to upload as a release, relative to checkout workspace
15+
secrets:
16+
token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
17+
18+
call-generate-readme-workflow:
19+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
20+
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main
21+
22+
call-update-catalog-workflow:
23+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
24+
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
25+
secrets:
26+
token: ${{ secrets.SDK_SYNC_PAT }}

0 commit comments

Comments
 (0)