Skip to content

Add log4net logging #31

Add log4net logging

Add log4net logging #31

Workflow file for this run

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: windows-2019
env:
Solution_Name: Wreck.sln
Configuration: Release
steps:
- name: Checkout
uses: actions/checkout@v3
#- name: Setup .NET
# uses: actions/setup-dotnet@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Build solution
# run: msbuild $env:Base_Directory\$env:Solution_Name -t:rebuild -property:Configuration=$env:Configuration
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
msbuild $Env:GITHUB_WORKSPACE\Wreck.sln -t:Rebuild -p:Configuration=Release -p:Platform=x86 -p:TargetFrameworkVersion=v2.0
#run: pwd && ls
env:
Configuration: ${{ matrix.configuration }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: wreck
path: bin\Release