forked from jackcaver/Api
-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (28 loc) · 752 Bytes
/
build.yml
File metadata and controls
33 lines (28 loc) · 752 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
name: Build
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- TAG: linux-x64
- TAG: linux-arm
- TAG: win-x86
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x
- name: Build
run: dotnet publish -r ${{ matrix.TAG }} -p:PublishSingleFile=true -c Release -nowarn:CS8632,CS0168,CS0162,CS1998
- name: Upload Build Result
uses: actions/upload-artifact@v2.2.4
with:
name: ${{ matrix.TAG }}
path: ./ProjectEarthServerAPI/bin/Release/net5.0/${{ matrix.TAG }}/publish