Skip to content

Merge pull request #10 from gyk4j/20231213-disable-debug-build #4

Merge pull request #10 from gyk4j/20231213-disable-debug-build

Merge pull request #10 from gyk4j/20231213-disable-debug-build #4

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
configuration: [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 }}