-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 940 Bytes
/
build.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: Build bHapticsLib
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 5
uses: actions/[email protected]
with:
dotnet-version: 5.0.x
- name: Setup .NET 6
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore
- name: Build Debug
shell: cmd
run: dotnet build -c Debug
- name: Upload Debug Artifact
uses: actions/upload-artifact@v3
with:
name: bHapticsLib.CI.Debug
path: Output/Debug/
- name: Build Release
shell: cmd
run: dotnet build -c Release
- name: Upload Release Artifact
uses: actions/upload-artifact@v3
with:
name: bHapticsLib.CI.Release
path: Output/Release/