diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 2307dc8..768c275 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -6,8 +6,8 @@ name: MSBuild on: - #push: - #branches: [ "master" ] + push: + branches: [ "master" ] pull_request: branches: [ "master" ] @@ -30,7 +30,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -48,10 +48,10 @@ jobs: run: ${{ github.workspace }}/vcpkg/vcpkg integrate install - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 - name: Build - working-directory: ${{env.GITHUB_WORKSPACE}} + working-directory: ${{ 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}} + run: msbuild /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}