-
Notifications
You must be signed in to change notification settings - Fork 558
118 lines (92 loc) · 4.65 KB
/
.net-build-microservices.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: .Net Build Microservices
on:
push:
paths:
- 'src/Microservices/**'
pull_request:
paths:
- 'src/Microservices/**'
jobs:
build:
defaults:
run:
working-directory: src/Microservices
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 AuditLog.Api
run: dotnet publish Services.AuditLog/ClassifiedAds.Services.AuditLog.Api/*.csproj --configuration Release
- name: Publish AuditLog.Grpc
run: dotnet publish Services.AuditLog/ClassifiedAds.Services.AuditLog.Grpc/*.csproj --configuration Release
- name: Publish Identity.Api
run: dotnet publish Services.Identity/ClassifiedAds.Services.Identity.Api/*.csproj --configuration Release
- name: Publish Identity.Grpc
run: dotnet publish Services.Identity/ClassifiedAds.Services.Identity.Grpc/*.csproj --configuration Release
- name: Publish Notification.Api
run: dotnet publish Services.Notification/ClassifiedAds.Services.Notification.Api/*.csproj --configuration Release
- name: Publish Notification.Background
run: dotnet publish Services.Notification/ClassifiedAds.Services.Notification.Background/*.csproj --configuration Release
- name: Publish Notification.Grpc
run: dotnet publish Services.Notification/ClassifiedAds.Services.Notification.Grpc/*.csproj --configuration Release
- name: Publish Product.Api
run: dotnet publish Services.Product/ClassifiedAds.Services.Product.Api/*.csproj --configuration Release
- name: Publish Storage.Api
run: dotnet publish Services.Storage/ClassifiedAds.Services.Storage.Api/*.csproj --configuration Release
- name: Publish Gateways.WebAPI
run: dotnet publish Gateways.WebAPI/ClassifiedAds.Gateways.WebAPI/*.csproj --configuration Release
- name: Upload ClassifiedAds.Services.AuditLog.Api
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.AuditLog.Api
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Api/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.AuditLog.Grpc
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.AuditLog.Grpc
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Grpc/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Identity.Api
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Identity.Api
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Api/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Identity.Grpc
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Identity.Grpc
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Grpc/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Notification.Api
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Notification.Api
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Api/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Notification.Background
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Notification.Background
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Background/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Notification.Grpc
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Notification.Grpc
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Grpc/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Product.Api
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Product.Api
path: src/Microservices/Services.Product/ClassifiedAds.Services.Product.Api/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Services.Storage.Api
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Services.Storage.Api
path: src/Microservices/Services.Storage/ClassifiedAds.Services.Storage.Api/bin/Release/net8.0/publish
- name: Upload ClassifiedAds.Gateways.WebAPI
uses: actions/upload-artifact@v4
with:
name: ClassifiedAds.Gateways.WebAPI
path: src/Microservices/Gateways.WebAPI/ClassifiedAds.Gateways.WebAPI/bin/Release/net8.0/publish