From 9275ffcb793d376746ec82322701c4d9507deed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20N=C3=B8rfjand=20Stengaard?= Date: Wed, 28 Sep 2022 20:10:45 +0200 Subject: [PATCH] Update github workflow --- .github/workflows/build-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1c6b29d..1a3d15f 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -86,8 +86,8 @@ jobs: Remove-Item -Path *.pdb $exeFileName=((Get-ChildItem -Filter 'Hst.Imager.ConsoleApp*') | Select -First 1).Name Rename-Item -Path $exeFileName -NewName ($exeFileName -replace 'Hst.Imager.ConsoleApp', 'hst.imager') - Compress-Archive -Path *.* -DestinationPath "$artifactName.zip" - $artifactPath=((Get-ChildItem -Filter "$artifactName.zip") | Select -First 1).FullName + Compress-Archive -Path *.* -DestinationPath $artifactName + $artifactPath=((Get-ChildItem -Filter $artifactName) | Select -First 1).FullName "::set-output name=artifact_name::$artifactName" "::set-output name=artifact_path::$artifactPath"