Skip to content

Commit e1f620c

Browse files
windows///
1 parent 2bf56ea commit e1f620c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ jobs:
4747
id: package_windows
4848
shell: pwsh
4949
run: |
50-
Compress-Archive -Path target\release\tundra-cli.exe `
51-
-DestinationPath target\release\tundra-cli-${{ github.event.release.tag_name }}-windows-x86_64.zip
52-
Add-Content -Path $env:GITHUB_OUTPUT `
53-
-Value "path=$(Resolve-Path target\release\tundra-cli-${{ github.event.release.tag_name }}-windows-x86_64.zip)"
50+
$zipPath = "target/release/tundra-cli-${{ github.event.release.tag_name }}-windows-x86_64.zip"
51+
Compress-Archive `
52+
-Path "target/release/tundra-cli.exe" `
53+
-DestinationPath $zipPath -Force
54+
"path=$zipPath" >> $env:GITHUB_OUTPUT
5455
5556
- name: Upload asset (Windows)
5657
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)