-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1.03 KB
/
netfx.yml
File metadata and controls
39 lines (31 loc) · 1.03 KB
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
name: Build Repository
on: [push]
jobs:
build:
runs-on: windows-2019 # We need .net fx 4.0, which is gone with VS 2022 (windows-latest)
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout build dependencies
uses: actions/checkout@v2
with:
fetch-depth: 0
path: dependencies
repository: Sharkkit/Dependencies
token: ${{ secrets.PAT_DEPENDENCIES }}
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
#- name: Setup NuGet
# uses: NuGet/setup-nuget@v1.0.2
#- name: Restore NuGet Packages
# run: nuget restore SharkkitDedicated.csproj
- name: Build project
run: msbuild SharkkitDedicated.csproj /p:Configuration=Release
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: SharkkitDedicated Build
path: bin\Release\SharkkitDedicated.*