-
Notifications
You must be signed in to change notification settings - Fork 558
92 lines (71 loc) · 2.86 KB
/
.net-build-monolith.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: .Net Build Monolith
on:
push:
paths:
- 'src/Monolith/**'
pull_request:
paths:
- 'src/Monolith/**'
jobs:
build:
defaults:
run:
working-directory: src/Monolith
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.100
- name: Build
run: dotnet build --configuration Release
- name: Publish ClassifiedAds.Background
run: dotnet publish ClassifiedAds.Background/*.csproj --configuration Release
- name: Publish ClassifiedAds.GraphQL
run: dotnet publish ClassifiedAds.GraphQL/*.csproj --configuration Release
- name: Publish ClassifiedAds.Migrator
run: dotnet publish ClassifiedAds.Migrator/*.csproj --configuration Release
- name: Publish ClassifiedAds.WebAPI
run: dotnet publish ClassifiedAds.WebAPI/*.csproj --configuration Release
- name: Publish ClassifiedAds.WebMVC
run: dotnet publish ClassifiedAds.WebMVC/*.csproj --configuration Release
- name: Publish ClassifiedAds.BlazorServerSide
run: dotnet publish ClassifiedAds.BlazorServerSide/*.csproj --configuration Release
- name: Publish ClassifiedAds.BlazorWebAssembly
run: dotnet publish ClassifiedAds.BlazorWebAssembly/*.csproj --configuration Release
- name: Upload ClassifiedAds.Background
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Background
path: src/Monolith/ClassifiedAds.Background/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.GraphQL
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.GraphQL
path: src/Monolith/ClassifiedAds.GraphQL/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Migrator
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Migrator
path: src/Monolith/ClassifiedAds.Migrator/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.WebAPI
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.WebAPI
path: src/Monolith/ClassifiedAds.WebAPI/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.WebMVC
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.WebMVC
path: src/Monolith/ClassifiedAds.WebMVC/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.BlazorServerSide
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.BlazorServerSide
path: src/Monolith/ClassifiedAds.BlazorServerSide/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.BlazorWebAssembly
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.BlazorWebAssembly
path: src/Monolith/ClassifiedAds.BlazorWebAssembly/bin/Release/net8.0/publish