-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 1.01 KB
/
netfx.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
name: Build Repository
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
path: Andraste.Shared
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore NuGet Packages
run: nuget restore Andraste.Shared/Andraste.Shared.csproj -PackagesDirectory packages
- name: Build project
run: msbuild Andraste.Shared/Andraste.Shared.csproj /p:Configuration=Release /p:GeneratePackageOnBuild=true
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: DLLs
path: |
Andraste.Shared\bin\Release\net48\Andraste.Shared.dll
Andraste.Shared\bin\Release\net48\Andraste.Shared.pdb
- name: Upload NuPkg
uses: actions/upload-artifact@v3
with:
name: NuGet
path: Andraste.Shared\bin\Release\Andraste.Shared.*.nupkg