-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (33 loc) · 988 Bytes
/
Build.yml
File metadata and controls
45 lines (33 loc) · 988 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
38
39
40
41
42
43
44
45
name: .NET Build, Test
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build DexieNET and DexieCloudNET
run: dotnet build DexieCloudNET/DexieCloudNET.csproj -c Release
- name: Pack DexieNET
run: dotnet pack DexieNET/DexieNET.csproj -c Release
- name: Pack DexieCloudNET
run: dotnet pack DexieCloudNET/DexieCloudNET.csproj -c Release
- name: UploadNuget
uses: actions/upload-artifact@v4
with:
name: Nugets
path: .nuget/
retention-days: 2
- name: TestSG
run: dotnet test DexieNETTest/TableGeneratorTest/DexieNETTest.TableGeneratorTest.csproj -c Release
- name: TestDB
run: dotnet test DexieNETTest/Tests/DexieNETTest.Tests.csproj -c Release