fix: fix mksnapshot gen/v8 path (#45546)
* fix: fix mksnapshot gen/v8 path Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * build: use 7z compression Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * build: unzip mksnapshot on Windows and update zip Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * chore: escape backslashes Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * chore: try another attempt Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * chore: remove rmdir for now Co-authored-by: David Sanders <dsanders11@ucsbalum.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
452d891be5
commit
71d3a86d32
1 changed files with 3 additions and 1 deletions
4
.github/actions/build-electron/action.yml
vendored
4
.github/actions/build-electron/action.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue