From 748e90701da8bf3402fd53b74ad469e1869fe3d6 Mon Sep 17 00:00:00 2001 From: Hannes Steffenhagen Date: Thu, 17 Sep 2020 14:32:31 +0100 Subject: [PATCH] Fix bug preventing creation of MSIs on release -Name is not how you filter names, that just restricts the output to filenames only (as opposed to also things like last-modified-dates etc). --- .github/workflows/release-packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-packages.yaml b/.github/workflows/release-packages.yaml index 403fc91fc3a..4d011e988b5 100644 --- a/.github/workflows/release-packages.yaml +++ b/.github/workflows/release-packages.yaml @@ -85,7 +85,7 @@ jobs: Set-Location build $cpack = "$(Split-Path -Parent (Get-Command cmake).Source)\cpack.exe" & $cpack . -C Release - $msi_name = (Get-ChildItem -name *.msi).Name + $msi_name = Get-ChildItem -Filter *.msi -Name Write-Output "::set-output name=msi_installer::build/$msi_name" Write-Output "::set-output name=msi_name::$msi_name" - name: Get release info