-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (39 loc) · 1.36 KB
/
codebreaker-lib-client.yml
File metadata and controls
46 lines (39 loc) · 1.36 KB
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
46
name: Client lib
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- 'src/clients/Codebreaker.GameAPIs.Client/**'
- 'src/clients/Codebreaker.GameAPIs.Client.Tests/**'
# Allow manually trigger
workflow_dispatch:
permissions:
contents: read
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.GameAPIs.Client.slnx
projectfile-path: src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj
dotnet-version: '10.0.x'
artifact-name: codebreaker-clientlib
branch-name: main
publishdevops:
uses: CodebreakerApp/Codebreaker.Backend/.github/workflows/publishnuget-azuredevops.yml@main
needs: build
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