-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 840 Bytes
/
netfx.yml
File metadata and controls
33 lines (26 loc) · 840 Bytes
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
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
# 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 SharkkitAPI.csproj
- name: Build project
run: msbuild SharkkitAPI.csproj /p:Configuration=Release
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: API Build
path: |
bin\Release\SharkkitAPI.dll
bin\Release\SharkkitAPI.pdb