-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (31 loc) · 956 Bytes
/
dotnet.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
name: .NET Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Publish Linux/ReleaseCloud
run: dotnet publish --no-self-contained -f net8.0 -r linux-x64 -c ReleaseCloud cTabIRL/cTabWebApp/cTabWebApp.csproj -o OutputLinux
- name: Publish Windows/
run: dotnet publish --no-self-contained -f net8.0 -r win-x64 -c Release cTabIRL/cTabWebApp/cTabWebApp.csproj -o OutputWindows
- name: Upload OutputLinux
uses: actions/upload-artifact@v4
with:
name: Linux Server
path: OutputLinux
- name: Upload OutputWindows
uses: actions/upload-artifact@v4
with:
name: Windows Server
path: OutputWindows