Add explanation for CI build failures #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
configuration: [Release] | |
runs-on: windows-2019 | |
env: | |
Base_Directory: D:\a\wreck-net\wreck-net | |
Solution_Name: Wreck.sln | |
Configuration: Release | |
Wap_Project_Directory: bin | |
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: msbuild Wreck.sln /t:Rebuild /p:Configuration=Release | |
#run: pwd && ls | |
env: | |
Configuration: ${{ matrix.configuration }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: wreck | |
path: bin\Release | |