Skip to content

Bump actions/upload-artifact from 3 to 4 #9

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #9

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/setup-msbuild@v1.1.3
- 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}}