Skip to content

Create dotnet-desktop.yml #1

Create dotnet-desktop.yml

Create dotnet-desktop.yml #1

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-2019
env:
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:Solution_Name -t:rebuild -property:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: wreck
path: ${{ env.Wap_Project_Directory }}\${{ env.Release }}