Skip to content

Merge pull request #284 from CodebreakerApp/283-cosmos-lib-net-9 #16

Merge pull request #284 from CodebreakerApp/283-cosmos-lib-net-9

Merge pull request #284 from CodebreakerApp/283-cosmos-lib-net-9 #16

name: Cosmos data lib
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- 'src/services/common/Codebreaker.Data.Cosmos/**'
- 'src/Codebreaker.Backend.Cosmos.sln'
# Allow manually trigger
workflow_dispatch:
jobs:
build:
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/createnuget-withbuildnumber.yml@main
with:
version-suffix: preview.1.
version-number: ${{ github.run_number }}
version-offset: 10
solutionfile-path: src/Codebreaker.Backend.Cosmos.sln
projectfile-path: src/services/common/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj
dotnet-version: '9.0.x'
artifact-name: codebreaker-cosmos
branch-name: main
publishdevops:
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main
needs: build
with:
artifact-name: codebreaker-cosmos
secrets: inherit
# publishnuget:
# uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-nugetserver.yml@main
# needs: publishdevops
# with:
# artifact-name: codebreaker-cosmos
# secrets: inherit