-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (28 loc) · 870 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
28
29
30
31
32
33
34
35
36
37
38
39
# Pretty much WIP, don't expect it to work for now
name: PlaySync Build
on:
push:
branches: main
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Navigate to Workspace
run: cd $GITHUB_WORKSPACE
- name: Create Build Directory
run: mkdir _build
- name: Restore Packages
run: nuget restore EzRep.sln
- name: Build Solution
run: |
msbuild.exe EzRep.sln /nologo /nr:false /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release" /p:PublishUrl="../_build"
- name: Upload artifact
uses: actions/[email protected]
with:
name: EZRepBundle
path: "./_build"