Skip to content

Update build.yml

Update build.yml #16

Workflow file for this run

name: Test Build
on:
push
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
#- name: Install
# run: Tools\ci_install.bat
- name: Install .NET FX 3.5
run: Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"
- name: Install .NET FX 4
run: Enable-WindowsOptionalFeature -Online -FeatureName "NetFx4"
- name: Prepare Build
run: nuget restore -OutputDirectory .\Packages EasyHook.sln
- name: Prepare Build
run: msbuild -m EasyHook.sln
- name: Build x64
run: msbuild -m EasyHook.sln /p:Platform=x64
- name: DBG1
run: dir Build/netfx3.5-Debug/x86
- name: DBG
run: dir Build/netfx3.5-Debug/x64
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: x86
path: |
Build/netfx3.5-Debug/x86/*.dll
Build/netfx3.5-Debug/x86/*.XML
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: x64
path: |
Build/netfx3.5-Debug/x64/*.dll