Skip to content

Merge pull request #200 from CodebreakerApp/187-bookupdates #10

Merge pull request #200 from CodebreakerApp/187-bookupdates

Merge pull request #200 from CodebreakerApp/187-bookupdates #10

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