-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.37 KB
/
codebreaker-lib-cosmos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Cosmos data lib
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- 'src/services/gameapi/Codebreaker.Data.Cosmos/**'
- 'src/Codebreaker.Backend.Cosmos.sln'
- '.github/workflows/codebreaker-lib-cosmos.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.Cosmos.sln
projectfile-path: src/services/gameapi/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj
dotnet-version: '8.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