Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/codebreaker-lib-viewmodels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/createnuget-withbuildnumber.yml@main
with:
version-suffix: beta.
version-suffix: preview.1.
version-number: ${{ github.run_number }}
version-offset: 10
solutionfile-path: src/CodeBreaker.ViewModels.sln
Expand All @@ -38,9 +38,9 @@ jobs:
artifact-name: codebreaker-viewmodels
secrets: inherit

publishnuget:
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
needs: publishdevops
with:
artifact-name: codebreaker-viewmodels
secrets: inherit
# publishnuget:
# uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
# needs: publishdevops
# with:
# artifact-name: codebreaker-viewmodels
# secrets: inherit
3 changes: 1 addition & 2 deletions .github/workflows/createnuget-withbuildnumber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ inputs.dotnet-version }}
dotnet-quality: 'preview'

- name: Calculate version suffix with offset
id: version
Expand Down Expand Up @@ -86,5 +85,5 @@ jobs:
with:
name: ${{ inputs.artifact-name }}
path: packages/*
retention-days: 3
retention-days: 7

20 changes: 20 additions & 0 deletions publishnuget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# GitHub Actions

## Publish to Azure DevOps

[Azure DevOps feed for daily builds](https://pkgs.dev.azure.com/cnilearn/codebreakerpackages/_packaging/codebreaker/nuget/v3/index.json)

Daily build version of NuGet packages (*CNinnovation.Codebreaker.ViewModels*) are published to Azure DevOps with every merge to the main branch.

For publishing, an Azure DevOps PAT is required.
Permissions: Packaging, Read & Write

The PAT is configured with the environment *DevOpsArtifacts" actions secret *DEVOPS_ARTIFACT_PAT*.

Valid until 2025/01/12

## Publish to NuGet

Preview and release versions are published to the NuGet server.

[CNInnovation.Codebreaker.ViewModels](https://www.nuget.org/packages/CNInnovation.Codebreaker.ViewModels/)
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>3.7.0</VersionPrefix>
<VersionPrefix>4.0.0</VersionPrefix>
</PropertyGroup>
</Project>