Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a562f27 commit 36ad31bCopy full SHA for 36ad31b
.github/workflows/github_workflows_build-all.yml
@@ -400,8 +400,15 @@ jobs:
400
run: |
401
$destfile7z = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe"
402
$sourceDir = "$env:build_location"
403
+
404
+ # Define the standard 7-Zip installation path (adjust if using a custom install)
405
+ $SevenZipDir = "C:\Program Files\7-Zip"
406
+ # Use the full path to the SFX module
407
+ $SFXModulePath = "$SevenZipDir\7z.sfx"
408
409
#7z a -sfx $destfile7z $sourceDir
- 7z a -t7z -sfx7z.sfx $destfile7z $sourceDir
410
+ #7z a -t7z -sfx7z.sfx $destfile7z $sourceDir
411
+ 7z a -t7z -sfx$SFXModulePath $destfile7z $sourceDir
412
413
- name: generate hashes wppm style
414
if: env.ARTIFACT_NAME != ''
0 commit comments