Skip to content

Commit

Permalink
dotnet 9 clientlib workflows updates
Browse files Browse the repository at this point in the history
  • Loading branch information
christiannagel committed Nov 16, 2024
1 parent 100f729 commit 2a933f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codebreaker-lib-client-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x

- name: Build the library
run: dotnet build -c Release ${{ env.solutionfile-path }}
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/codebreaker-lib-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
paths:
- 'src/clients/Codebreaker.GameAPIs.Client/**'
- 'src/clients/Codebreaker.GameAPIs.Client.Tests/**'
- 'src/Codebreaker.GameA.sln'
- 'src/Codebreaker.GameAPIs.Client.sln'

# Allow manually trigger
workflow_dispatch:
Expand All @@ -18,12 +18,12 @@ jobs:
build:
uses: CodebreakerApp/Codebreaker.Backend/.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.GameAPIs.Client.sln
projectfile-path: src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'
artifact-name: codebreaker-clientlib
branch-name: main

Expand All @@ -34,9 +34,11 @@ jobs:
artifact-name: codebreaker-clientlib
secrets: inherit

publishnuget:
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main
needs: publishdevops
with:
artifact-name: codebreaker-clientlib
secrets: inherit
# NuGet publish is now done with codebreaker-lib-stable.yml
# In case a preview version will be published again to NuGet, this can be uncommented.
# publishnuget:
# uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main
# needs: publishdevops
# with:
# artifact-name: codebreaker-clientlib
# secrets: inherit

0 comments on commit 2a933f2

Please sign in to comment.