Skip to content

Commit 212805f

Browse files
committed
Finetune + extra workflows
1 parent 6dca343 commit 212805f

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/workflows/prerelease.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: DataMiner CICD Internal 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+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
17+
# Note: Tagging will push the nupackage to the GitHub NuGet registry using the provided NUGETAPIKEY_GITHUB (Personal Access Token). You can tag both a prerelease version (a.b.c-xxxx) or a stable release (a.b.c).
18+
CICD:
19+
uses: SkylineCommunications/_ReusableWorkflows/.github/workflows/Internal NuGet Solution Master Workflow.yml@main
20+
with:
21+
referenceName: ${{ github.ref_name }}
22+
runNumber: ${{ github.run_number }}
23+
referenceType: ${{ github.ref_type }}
24+
repository: ${{ github.repository }}
25+
owner: ${{ github.repository_owner }}
26+
sonarCloudProjectName: SkylineCommunications_Skyline.DataMiner.Sdk
27+
secrets:
28+
sonarCloudToken: ${{ secrets.SONAR_TOKEN }}
29+
nugetApiKey: ${{ secrets.NUGETAPIKEY_GITHUB }}

.github/workflows/main.yml .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: []
88
tags:
99
- "[0-9]+.[0-9]+.[0-9]+"
10-
- "[0-9]+.[0-9]+.[0-9]+-**"
10+
#- "[0-9]+.[0-9]+.[0-9]+-**"
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:

Sdk/Sdk.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<Authors>SkylineCommunications</Authors>
1818
<Company>Skyline Communications</Company>
1919
<Description>TBD</Description>
20+
<RepositoryUrl>https://github.com/SkylineCommunications/Skyline.DataMiner.Sdk</RepositoryUrl>
21+
<RepositoryType>git</RepositoryType>
2022
<PackageType>MSBuildSdk</PackageType>
2123
<BuildOutputTargetFolder>Sdk</BuildOutputTargetFolder>
2224
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
@@ -38,7 +40,7 @@
3840
<PackageReference Include="Skyline.DataMiner.CICD.Common" Version="1.0.5-alpha" PrivateAssets="all" />
3941
<PackageReference Include="Skyline.DataMiner.CICD.Parsers.Common" Version="1.0.13-foxtrot" PrivateAssets="all" />
4042
<PackageReference Include="Skyline.DataMiner.CICD.Assemblers.Automation" Version="1.0.15" PrivateAssets="all" />
41-
<PackageReference Include="Skyline.DataMiner.Core.AppPackageCreator" Version="1.0.4" PrivateAssets="all" />
43+
<PackageReference Include="Skyline.DataMiner.Core.AppPackageCreator" Version="1.0.4" PrivateAssets="all" />
4244
</ItemGroup>
4345

4446
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">

0 commit comments

Comments
 (0)