Skip to content

Bump microsoft/setup-msbuild from 1.1.3 to 2.0.0 #11

Bump microsoft/setup-msbuild from 1.1.3 to 2.0.0

Bump microsoft/setup-msbuild from 1.1.3 to 2.0.0 #11

Workflow file for this run

name: Build WinToast
on: [push, pull_request]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: "example/console-example/WinToast Console Example.sln"
# Configuration type to build.
BUILD_CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} "${{env.SOLUTION_FILE_PATH}}"
- name: Upload `wintoast.exe`
uses: actions/upload-artifact@v3
with:
name: wintoast
path: example/console-example/x64/${{env.BUILD_CONFIGURATION}}