-
Notifications
You must be signed in to change notification settings - Fork 54
39 lines (36 loc) · 1.03 KB
/
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
name: Build
on:
push:
branches: '*'
tags-ignore: '*'
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Build with dotnet
run: dotnet build --configuration Release --nologo ./src/Lumina.sln
- name: dotnet test
run: dotnet test --configuration Release --nologo ./src/Lumina.sln
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: Lumina-${{ matrix.os }}
path: |
./src/Lumina/bin/Release/*.nupkg
./src/Lumina/bin/Release/*.snupkg
./src/Lumina/bin/Release/**/Lumina*.dll
./src/Lumina/bin/Release/**/Lumina*.xml
./src/Lumina/bin/Release/**/Lumina*.pdb
./src/Lumina/bin/Release/**/Lumina*.deps.json