-
-
Notifications
You must be signed in to change notification settings - Fork 8
71 lines (65 loc) · 2.74 KB
/
dotnetcore.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
name: .NET Core
on:
push:
paths:
- 'api/**.cs'
- '.github/workflows/dotnetcore.yml'
jobs:
buildwindows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build with dotnet
working-directory: ./api
run: |
dotnet build AltV.Net.Host -c Release -f net6.0
dotnet build AltV.Net.Host -c Release -f net6.0
dotnet build AltV.Net.Shared -c Release -f net6.0
dotnet build AltV.Net.CApi -c Release -f net6.0
dotnet build AltV.Net -c Release -f net6.0
dotnet build AltV.Net -c Debug -f net6.0
dotnet build AltV.Net.Async -c Release -f net6.0
dotnet build AltV.Net.Async -c Debug -f net6.0
dotnet build AltV.Net.Interactions -c Release -f net6.0
dotnet build AltV.Net.Async.CodeGen -c Release -f netstandard2.0
dotnet build AltV.Net.Resources.Chat.Api -c Release -f net6.0
dotnet build AltV.Net.EntitySync.ServerEvent -c Release -f net6.0
dotnet build AltV.Net.Client -c Release -f net6.0
dotnet build AltV.Net.Client.Async -c Release -f net6.0
dotnet build AltV.Net.ColShape -c Release -f net6.0
dotnet build AltV.Net.Sdk.Server -c Release -f net6.0
dotnet build AltV.Net.Sdk.Client -c Release -f net6.0
dotnet build AltV.Net.Sdk.Shared -c Release -f net6.0
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build with dotnet
working-directory: ./api
run: |
dotnet build AltV.Net.Host -c Release -f net6.0
dotnet build AltV.Net.Host -c Release -f net6.0
dotnet build AltV.Net.Shared -c Release -f net6.0
dotnet build AltV.Net.CApi -c Release -f net6.0
dotnet build AltV.Net -c Release -f net6.0
dotnet build AltV.Net -c Debug -f net6.0
dotnet build AltV.Net.Async -c Release -f net6.0
dotnet build AltV.Net.Async -c Debug -f net6.0
dotnet build AltV.Net.Interactions -c Release -f net6.0
dotnet build AltV.Net.Async.CodeGen -c Release -f netstandard2.0
dotnet build AltV.Net.Resources.Chat.Api -c Release -f net6.0
dotnet build AltV.Net.EntitySync.ServerEvent -c Release -f net6.0
dotnet build AltV.Net.Client -c Release -f net6.0
dotnet build AltV.Net.Client.Async -c Release -f net6.0
dotnet build AltV.Net.ColShape -c Release -f net6.0
dotnet build AltV.Net.Sdk.Server -c Release -f net6.0
dotnet build AltV.Net.Sdk.Client -c Release -f net6.0
dotnet build AltV.Net.Sdk.Shared -c Release -f net6.0