forked from GhostPack/SharpDump
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1.17 KB
/
Copy pathbuild-sharpdump.yml
File metadata and controls
36 lines (29 loc) · 1.17 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
name: Build SharpDump
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install .NET Framework 3.5 Developer Pack
run: |
Invoke-WebRequest -Uri https://download.microsoft.com/download/B/0/D/B0D6DF26-CE4F-4E08-8BFD-4D62B646C8D9/NDP35SP1-KB958484-x86-x64-AllOS-ENU.exe -OutFile NDP35SP1.exe
Start-Process -FilePath NDP35SP1.exe -ArgumentList '/quiet','/norestart' -Wait
shell: powershell
- name: Install .NET Framework 4.0 targeting pack
run: |
Invoke-WebRequest -Uri https://download.microsoft.com/download/B/D/7/BD7281AE-7B2F-4F40-BE33-452FDA9E84D1/dotnetfx35.exe -OutFile dotnetfx35.exe
Start-Process -FilePath dotnetfx35.exe -ArgumentList '/quiet','/norestart' -Wait
shell: powershell
- name: Build with msbuild
run: msbuild ./SharpDump/SharpDump.csproj /p:Configuration=Release /p:Platform="Any CPU"
shell: cmd
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: SharpDump-exe
path: ./SharpDump/bin/Release/SharpDump.exe