-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (30 loc) · 1.29 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
40
41
name: build
on: [push]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x' # SDK Version to use.
- run: dotnet publish -c release -r linux-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true
working-directory: ./ConcertoCLI
- run: dotnet publish -c release -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true
working-directory: ./ConcertoCLI
- run: dotnet publish -c release -r osx-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true
working-directory: ./ConcertoCLI
- uses: actions/upload-artifact@main
with:
name: concerto-linux64
path: ConcertoCLI/bin/release/net5.0/linux-x64/publish
- uses: actions/upload-artifact@main
with:
name: concerto-win64
path: ConcertoCLI/bin/release/net5.0/win-x64/publish
- uses: actions/upload-artifact@main
with:
name: concerto-macos64
path: ConcertoCLI/bin/release/net5.0/osx-x64/publish