Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardcrash32 committed Jul 15, 2024
2 parents 5474b97 + 5f1d792 commit 72d0337
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# 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:
Expand All @@ -13,11 +8,9 @@ on:

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .\msvc\
SOLUTION_FILE_PATH: ./msvc/

# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

permissions:
Expand All @@ -33,12 +26,17 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- 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: Prepare artifacts
# run: Compress-Archive -Path ./src/Release/wartool.mix -Destination windows-latest.zip

- name: Deploy artifacts
uses: actions/upload-artifact@v3
with:
name: windows-latest
path: ./src/Release/wartool.mix

0 comments on commit 72d0337

Please sign in to comment.