Skip to content

Commit 02de39c

Browse files
Merge pull request #193 from CodebreakerApp/192-version-4x
Update NuGet build
2 parents 3909011 + 8135a61 commit 02de39c

File tree

4 files changed

+29
-10
lines changed

4 files changed

+29
-10
lines changed

.github/workflows/codebreaker-lib-viewmodels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
build:
2323
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/createnuget-withbuildnumber.yml@main
2424
with:
25-
version-suffix: beta.
25+
version-suffix: preview.1.
2626
version-number: ${{ github.run_number }}
2727
version-offset: 10
2828
solutionfile-path: src/CodeBreaker.ViewModels.sln
@@ -38,9 +38,9 @@ jobs:
3838
artifact-name: codebreaker-viewmodels
3939
secrets: inherit
4040

41-
publishnuget:
42-
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
43-
needs: publishdevops
44-
with:
45-
artifact-name: codebreaker-viewmodels
46-
secrets: inherit
41+
# publishnuget:
42+
# uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
43+
# needs: publishdevops
44+
# with:
45+
# artifact-name: codebreaker-viewmodels
46+
# secrets: inherit

.github/workflows/createnuget-withbuildnumber.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
uses: actions/setup-dotnet@v4
5555
with:
5656
dotnet-version: ${{ inputs.dotnet-version }}
57-
dotnet-quality: 'preview'
5857

5958
- name: Calculate version suffix with offset
6059
id: version
@@ -86,5 +85,5 @@ jobs:
8685
with:
8786
name: ${{ inputs.artifact-name }}
8887
path: packages/*
89-
retention-days: 3
88+
retention-days: 7
9089

publishnuget.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# GitHub Actions
2+
3+
## Publish to Azure DevOps
4+
5+
[Azure DevOps feed for daily builds](https://pkgs.dev.azure.com/cnilearn/codebreakerpackages/_packaging/codebreaker/nuget/v3/index.json)
6+
7+
Daily build version of NuGet packages (*CNinnovation.Codebreaker.ViewModels*) are published to Azure DevOps with every merge to the main branch.
8+
9+
For publishing, an Azure DevOps PAT is required.
10+
Permissions: Packaging, Read & Write
11+
12+
The PAT is configured with the environment *DevOpsArtifacts" actions secret *DEVOPS_ARTIFACT_PAT*.
13+
14+
Valid until 2025/01/12
15+
16+
## Publish to NuGet
17+
18+
Preview and release versions are published to the NuGet server.
19+
20+
[CNInnovation.Codebreaker.ViewModels](https://www.nuget.org/packages/CNInnovation.Codebreaker.ViewModels/)

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
</PropertyGroup>
1616

1717
<PropertyGroup>
18-
<VersionPrefix>3.7.0</VersionPrefix>
18+
<VersionPrefix>4.0.0</VersionPrefix>
1919
</PropertyGroup>
2020
</Project>

0 commit comments

Comments
 (0)