Browse Source

fix: fix mksnapshot gen/v8 path (#45546)

* fix: fix mksnapshot gen/v8 path

Co-authored-by: Keeley Hammond <[email protected]>

* build: use 7z compression

Co-authored-by: Keeley Hammond <[email protected]>

* build: unzip mksnapshot on Windows and update zip

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: escape backslashes

Co-authored-by: David Sanders <[email protected]>

* chore: try another attempt

Co-authored-by: David Sanders <[email protected]>

* chore: remove rmdir for now

Co-authored-by: David Sanders <[email protected]>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <[email protected]>
Co-authored-by: John Kleinschmidt <[email protected]>
Co-authored-by: David Sanders <[email protected]>
trop[bot] 2 months ago
parent
commit
71d3a86d32
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/actions/build-electron/action.yml

+ 3 - 1
.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