Skip to content

Commit ee75e83

Browse files
authored
ci: Added Publish NuGet Pipeline (#204)
1 parent 0964dcb commit ee75e83

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
concurrency:
14+
group: publish-nuget
15+
cancel-in-progress: true
16+
17+
jobs:
18+
nuget:
19+
name: Publish
20+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' }}
21+
uses: dailydevops/pipelines/.github/workflows/publish-nuget.yml@1.2.27
22+
with:
23+
workflowName: ${{ github.event.workflow_run.name }}
24+
artifactPattern: release-packages-*
25+
environment: NuGet
26+
runId: ${{ github.event.workflow_run.id }}
27+
secrets: inherit

0 commit comments

Comments
 (0)