-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (35 loc) · 1.25 KB
/
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
name: TACTLib
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore project
run: dotnet restore TACTLib.sln --verbosity m -r win-x64
- name: Build Release
run: dotnet publish -f net8.0 --configuration Release -r win-x64 --self-contained false -o dist/Release
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: TACTLib-release
path: dist/Release
- name: Build Debug
run: dotnet publish -f net8.0 --configuration Debug -r win-x64 --self-contained false -o dist/Debug
- name: Upload Debug
uses: actions/upload-artifact@v4
with:
name: TACTLib-debug
path: dist/Debug