diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 176883272f7d..58a416e01f40 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -108,7 +108,9 @@ runs: if [ "${{ inputs.target-platform }}" = "win" ]; then cd out/Default powershell Compress-Archive -update mksnapshot_args mksnapshot.zip - powershell Compress-Archive -update gen/v8/embedded.S mksnapshot.zip + powershell mkdir mktmp\\gen\\v8 + powershell Copy-Item gen\\v8\\embedded.S mktmp\\gen\\v8 + powershell Compress-Archive -update -Path mktmp\\gen mksnapshot.zip else (cd out/Default; zip mksnapshot.zip mksnapshot_args gen/v8/embedded.S) fi