Skip to content

Commit b0fd649

Browse files
Update versioning and workflow adjustments
- Updated `codebreaker-lib-viewmodels.yml` to change version suffix to `preview.1.`. - Disabled publish to Nuget.org for the next weeks. - In `createnuget-withbuildnumber.yml`, removed the `dotnet-quality: 'preview'` line to standardize the build process towards stable .NET releases. - Extended the artifact retention period from 3 to 7 days in `createnuget-withbuildnumber.yml` to allow longer access to uploaded artifacts for debugging or delayed deployments.
1 parent 11e750c commit b0fd649

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.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

0 commit comments

Comments
 (0)