Skip to content

Commit 201be47

Browse files
committed
Fix release ZIP path in workflow
1 parent 9728440 commit 201be47

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
run: |
3838
$version = "${{ steps.get_version.outputs.version }}"
3939
$zipName = "AddToPath-v${version}-win-x64.zip"
40-
Compress-Archive -Path "AddToPath\bin\Release\net472\*" -DestinationPath $zipName -Force
40+
# First check if files exist
41+
Get-ChildItem -Path "bin/Release/net472" -ErrorAction Continue
42+
# Create ZIP with proper path
43+
Compress-Archive -Path "bin/Release/net472/*" -DestinationPath $zipName -Force
4144
4245
- name: Generate Release Notes
4346
id: release_notes

0 commit comments

Comments
 (0)