Skip to content
Merged
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
23 changes: 14 additions & 9 deletions .github/workflows/codebreaker-lib-viewmodels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,34 @@ on:
# Allow manually trigger
workflow_dispatch:

env:
# Define the build number
BUILD_NUMBER: ${{ github.run_number }}
ARTIFACT_NAME: codebreaker-viewmodels

jobs:
build:
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/createnuget-withbuildnumber.yml@main
with:
version-suffix: beta.
version-number: ${{ github.run_number }}
version-number: $BUILD_NUMBER
version-offset: 10
solutionfile-path: src/CodeBreaker.ViewModels.sln
projectfile-path: src/Codebreaker.ViewModels/Codebreaker.ViewModels.csproj
dotnet-version: '8.0.x'
artifact-name: codebreaker-viewmodels
artifact-name: $ARTIFACT_NAME
branch-name: main

publishdevops:
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-azuredevops.yml@main
needs: build
with:
artifact-name: codebreaker-viewmodels
artifact-name: $ARTIFACT_NAME
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: $ARTIFACT_NAME
secrets: inherit