Skip to content

Merge pull request #4 from git-for-windows/dependabot/github_actions/… #15

Merge pull request #4 from git-for-windows/dependabot/github_actions/…

Merge pull request #4 from git-for-windows/dependabot/github_actions/… #15

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@v4
- 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@v4
with:
name: wintoast
path: example/console-example/x64/${{env.BUILD_CONFIGURATION}}