Skip to content

Commit 9f5dd79

Browse files
committed
chore: Added Publish NuGet pipeline
1 parent ce98abc commit 9f5dd79

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: NuGet Package
2+
3+
on:
4+
workflow_run:
5+
workflows: [CI]
6+
types: [completed]
7+
branches: [main]
8+
9+
permissions:
10+
actions: read
11+
contents: write
12+
13+
jobs:
14+
nuget:
15+
name: Publish
16+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor != 'dependabot[bot]' }}
17+
uses: dailydevops/pipelines/.github/workflows/[email protected]
18+
with:
19+
workflowName: ${{ github.event.workflow_run.name }}
20+
artifactPattern: release-packages-*
21+
environment: NuGet
22+
runId: ${{ github.event.workflow_run.id }}
23+
secrets: inherit

0 commit comments

Comments
 (0)