-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1.04 KB
/
build-binaries.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
name: Build binaries
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
os: [windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
working-directory: source
- name: Run win-x64 build
working-directory: build-scripts
run: ./"NSD.UI (win-x64).bat"
- name: Upload win-x64 build
uses: actions/upload-artifact@v4
with:
name: NSD-win-x64
path: builds/NSD.UI/win-x64/NSD-win-x64.exe
- name: Run linux-x64 build
working-directory: build-scripts
run: ./"NSD.UI (linux-x64).bat"
- name: Upload linux-x64 build
uses: actions/upload-artifact@v4
with:
name: NSD-linux-x64
path: builds/NSD.UI/linux-x64/NSD-linux-x64