Skip to content

Update msbuild.yml

Update msbuild.yml #4

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: MSBuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
strategy:
matrix:
configurations: [Debug, Release]
runs-on: windows-latest
env:
SOLUTION_FILE_PATH: LibLTC/LibLTC.sln
BUILD_CONFIGURATION: ${{matrix.configurations}}
steps:
- uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Upload LIB
uses: actions/upload-artifact@v4
with:
name: LibLTC_Lib_${{ matrix.configurations }}
path: LibLTC/x64/${{ matrix.configurations }}/*'