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"