-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (35 loc) · 1.3 KB
/
dataminer-cicd-nugetsolution.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: DataMiner CICD NuGet Solution
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events.
push:
branches:
- 1.0.X
- 2.0.X
- 3.0.X
- 4.0.X
- 5.0.X
- 6.0.X
- Preview
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-[0-9a-zA-Z]+'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# 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).
CICD:
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/NuGet Solution Master Workflow.yml@main
with:
referenceName: ${{ github.ref_name }}
runNumber: ${{ github.run_number }}
referenceType: ${{ github.ref_type }}
repository: ${{ github.repository }}
owner: ${{ github.repository_owner }}
sonarCloudProjectName: SkylineCommunications_Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit
secrets:
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
pfx: ${{ secrets.PFX }}
pfxPassword: ${{ secrets.PFXPASSWORD }}
nugetApiKey: ${{ secrets.NUGETAPIKEY }}