diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1a3d15f..38275c9 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -86,7 +86,7 @@ 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 + 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"