From 63dd933892479d7fce3ee515d1a58870bd1b7328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20K=20Moln=C3=A1r?= <13969648+mocsa@users.noreply.github.com> Date: Sun, 25 Aug 2024 22:57:21 +0200 Subject: [PATCH] Update msbuild.yml --- .github/workflows/msbuild.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 13708f2..b58af41 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -20,7 +20,7 @@ env: # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix BUILD_CONFIGURATION: Release - MSFS_SDK: MSFS_SDK + MSFS_SDK: MSFS_SDK\MSFS SDK permissions: contents: read @@ -44,9 +44,12 @@ jobs: path: . depth: 3 +# Piping to Out-Null waits for completion +# Current path = Workspace. See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#github-context - name: Extract msi run: | - msiexec /a MSFS_SDK_Core_Installer_0.24.3.0.msi /qb TARGETDIR=D:\a\x52msfsout\x52msfsout\MSFS_SDK | Out-Null + msiexec /a MSFS_SDK_Core_Installer_0.24.3.0.msi /qb TARGETDIR=$env:GITHUB_WORKSPACE\MSFS_SDK | Out-Null +# https://stackoverflow.com/questions/70036493/ # $file = "MSFS_SDK_Core_Installer_0.24.3.0.msi" # $log = "install.log" # $procMain = Start-Process "msiexec" "/a `"$file`" /qb TARGETDIR=D:\a\x52msfsout\x52msfsout\MSFS_SDK" -NoNewWindow -PassThru