Skip to content

Commit

Permalink
Merge pull request #3 from stevemonaco/cicd
Browse files Browse the repository at this point in the history
Update+Simplify CI
  • Loading branch information
stevemonaco authored May 24, 2024
2 parents 72835c1 + a050a36 commit 25226f1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,13 @@ permissions:

jobs:
build:
runs-on: windows-2019
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2

- name: Install Windows 8.1 SDK
shell: powershell
run: |
Invoke-WebRequest -Method Get -Uri https://go.microsoft.com/fwlink/p/?LinkId=323507 -OutFile sdksetup.exe -UseBasicParsing
Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/features", "OptionId.WindowsDesktopSoftwareDevelopmentKit", "OptionId.NetFxSoftwareDevelopmentKit"
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
uses: microsoft/setup-msbuild@v2

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down

0 comments on commit 25226f1

Please sign in to comment.