-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
42 lines (36 loc) · 935 Bytes
/
.gitlab-ci.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
stages:
- build
- test
- increase-version
- deploy-baget
variables:
PROJECT_DIRECTORY: "Wkg.EntityFrameworkCore/Wkg.EntityFrameworkCore"
PROJECT_FILE_PATH: "${PROJECT_DIRECTORY}/Wkg.EntityFrameworkCore.csproj"
MAJOR_VERSION: "9"
MINOR_VERSION: "0"
include:
- project: 'wkg/gitlab-templates'
ref: 'v1.2.19'
file:
- '/jobs/build_dotnet_9.yml'
- '/jobs/test_dotnet_9.yml'
- '/jobs/increase_version.yml'
- '/jobs/deploy_nuget_dotnet_9.yml'
build:
extends: .build
test:
extends: .test
variables:
TEST_PROJECT_FILE_PATH: "Wkg.EntityFrameworkCore/Wkg.EntityFrameworkCore.Tests/Wkg.EntityFrameworkCore.Tests.csproj"
increase-version:
extends: .increase-version
only:
- main
- master
- /^rc-.*$/
- /^dev-.*$/
- /^diag-.*$/
deploy:
extends: .deploy-nuget-public
variables:
DOTNET_CI_VERSION_FILE: "${PROJECT_DIRECTORY}/WkgEntityFrameworkCore.cs"