Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
strobejb committed Apr 28, 2023
1 parent 0a36a7a commit 83199ba
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: MSBuild
name: WinSpy

on:
push:
Expand All @@ -25,25 +25,28 @@ permissions:

jobs:
build:
#strategy:
# matrix:
# configuration: [Release]
# platform: [x64, x86]

runs-on: windows-latest

steps:
- uses: actions/checkout@v3


- 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 /verbosity:diag /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}

- uses: actions/upload-artifact@v2
- name: Package
uses: actions/upload-artifact@v2
with:
name: WinSoy
path: "WinSpy/bin/Release/WinSpy.exe"
path: ${{env.SOLUTION_Name}}"\\bin\\Release\\WinSpy.exe"

0 comments on commit 83199ba

Please sign in to comment.