diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e2319d..9a45ee0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,8 +34,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./sol-11_4-vbox.zip - asset_name: sol-11_4-vbox.zip + asset_path: ./sol-11_4-vbox.ova.zip + asset_name: sol-11_4-vbox.ova.zip asset_content_type: application/zip - name: Upload Release Asset if: "contains(github.ref, 'refs/tags/')" @@ -45,8 +45,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./sol-11_4-vbox.z01 - asset_name: sol-11_4-vbox.z01 + asset_path: ./sol-11_4-vbox.ova.z01 + asset_name: sol-11_4-vbox.ova.z01 asset_content_type: application/zip diff --git a/index.js b/index.js index c6a1e16..6861ca4 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ async function run() { await io.mv(img, "./" + imgName); core.info("Split file"); - await exec.exec("zip -s 2000m sol-11_4-vbox.zip  sol-11_4-vbox.ova"); + await exec.exec("zip -0 -s 2000m sol-11_4-vbox.ova.zip sol-11_4-vbox.ova"); await exec.exec("ls -lah"); } catch (error) {