-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.16 KB
/
build.yml
File metadata and controls
52 lines (44 loc) · 1.16 KB
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
46
47
48
49
50
51
52
name: Build
on:
push:
branches:
- '*'
tags:
- '*'
env:
OutputDirectory: ${{ github.workspace}}/output
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@master
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build -c Release --property:OutputPath=${{ env.OutputDirectory }}
- name: Upload Nuget
uses: actions/upload-artifact@v3
with:
name: nupkgs.zip
if-no-files-found: error
retention-days: 7
path: ${{ env.OutputDirectory }}/*.nupkg
- name: Upload Dlls
uses: actions/upload-artifact@v3
with:
name: dlls.zip
if-no-files-found: error
retention-days: 7
path: ${{ env.OutputDirectory }}/*.dll
- name: Upload XMLs
uses: actions/upload-artifact@v3
with:
name: xmls.zip
if-no-files-found: error
retention-days: 7
path: ${{ env.OutputDirectory }}/*.xml