-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (33 loc) · 794 Bytes
/
dotnet.yml
File metadata and controls
37 lines (33 loc) · 794 Bytes
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
name: .NET
on:
workflow_dispatch:
push:
branches: [ main, OculusDB-current ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- run: cd OculusDB
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Upload Debug net6.0.zip
uses: actions/upload-artifact@v4
with:
name: net6.0-Debug
path: OculusDB/bin/Debug/net6.0
- name: Upload Release net6.0.zip
uses: actions/upload-artifact@v4
with:
name: net6.0-Release
path: OculusDB/bin/Release/net6.0