Skip to content

Commit

Permalink
Update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstengaard committed Sep 28, 2022
1 parent e41b2ea commit 9275ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9275ffc

Please sign in to comment.