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