Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mocsa authored Aug 25, 2024
1 parent c04ad42 commit 0ad69b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2

- name: Download MSFS SDK file
run: |
curl -L -o MSFS_SDK_Core_Installer_0.24.0.0.msi https://sdk.flightsimulator.com/files/installers/0.24.0/MSFS_SDK_Core_Installer_0.24.0.0.msi
- name: Install msi
run: |
$file = "MSFS_SDK_Core_Installer_0.24.0.0.msi"
$log = "MSFS_SDK_install.log"
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
$procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
$procMain.WaitForExit()
$procLog.Kill()
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
Expand Down

0 comments on commit 0ad69b1

Please sign in to comment.