Skip to content

Fix path in dotnet-desktop.yml #7

Fix path in dotnet-desktop.yml

Fix path in dotnet-desktop.yml #7

Workflow file for this run

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
env:
Configuration: ${{ matrix.configuration }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: wreck
path: ${{ env.Base_Directory }}\${{ env.Wap_Project_Directory }}\${{ env.Release }}