Skip to content

Commit 6dca343

Browse files
authored
Create main.yml
1 parent 4da18c1 commit 6dca343

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: DataMiner CICD NuGet Solution
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events.
6+
push:
7+
branches: []
8+
tags:
9+
- "[0-9]+.[0-9]+.[0-9]+"
10+
- "[0-9]+.[0-9]+.[0-9]+-**"
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
16+
jobs:
17+
18+
# Note: Tagging will push the nupackage to nuget.org using the provided NUGETAPIKEY. You can tag both a prerelease version (a.b.c-xxxx) or a stable release (a.b.c).
19+
CICD:
20+
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/NuGet Solution Master Workflow.yml@main
21+
with:
22+
referenceName: ${{ github.ref_name }}
23+
runNumber: ${{ github.run_number }}
24+
referenceType: ${{ github.ref_type }}
25+
repository: ${{ github.repository }}
26+
owner: ${{ github.repository_owner }}
27+
sonarCloudProjectName: SkylineCommunications_Skyline.DataMiner.Sdk
28+
secrets:
29+
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
30+
pfx: ${{ secrets.PFX }}
31+
pfxPassword: ${{ secrets.PFXPASSWORD }}
32+
nugetApiKey: ${{ secrets.NUGETAPIKEY }}

0 commit comments

Comments
 (0)