-
Notifications
You must be signed in to change notification settings - Fork 4
27 lines (25 loc) · 915 Bytes
/
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
name: Build with Release configuration
on: push
jobs:
Build_Release:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: nuget/setup-nuget@v2
- name: Install dependencies
run: nuget restore Source\NostalgicPlayer.sln
- name: Build
run: msbuild Source\NostalgicPlayer.sln -t:rebuild -property:configuration="Release" -property:Platform="Any CPU"
- name: Rename binary directory
run: move Source\Clients\NostalgicPlayer\bin\Release\net* NostalgicPlayer-dev-build-${{github.run_number}}
- name: Create artifacts
uses: actions/upload-artifact@v4
with:
name: NostalgicPlayer-dev-build-${{github.run_number}}
path: NostalgicPlayer-dev-build-*\