-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (33 loc) · 908 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
36
37
38
39
40
41
name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# TODO: Test against latest previews too. This currently doesn't work because preview releases don't publish
# a milvus-standalone-docker-compose.yml
milvus_version: [v2.3.10]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v3
- name: Test
run: dotnet test --logger "GitHubActions;report-warnings=false"
- name: Pack
run: dotnet pack -c Release -o Artifacts
- name: Upload artifacts (nupkg)
uses: actions/upload-artifact@v3
with:
name: nupkgs
path: |
Artifacts/*.nupkg
Artifacts/*.snupkg