An open-source cross-platform alternative to AirDrop
test: fix zip build
Tien Do Namec8e4e0ba0da
diff --git a/.github/workflows/build_zip_test.yml b/.github/workflows/build_zip_test.ymlindex 921cc2d5..21aa932a 100644--- a/.github/workflows/build_zip_test.yml+++ b/.github/workflows/build_zip_test.yml@@ -38,14 +38,17 @@ jobs:flutter-version: ${{ env.FLUTTER_VERSION }}channel: "stable"+ # Required by the CMake install step (app/windows/CMakeLists.txt installs localsend_msix_helper.msix)+ - name: Build MSIX helper+ run: '& ''C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe'' pack /o /d support\build\msix /nv /p app\windows\localsend_msix_helper.msix'+- name: Dependenciesworking-directory: apprun: flutter pub get- # TODO: remove -v once the CI build failure is diagnosed- name: Compile for Windowsworking-directory: app- run: flutter build windows -v+ run: flutter build windows- name: Create empty settings.jsonworking-directory: app@@ -58,6 +61,13 @@ jobs:Copy-Item ../support/build/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/Copy-Item ../support/build/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/+ # The MSIX helper only makes sense for the installer; portable users should not register an MSIX package+ - name: Remove MSIX helper from portable bundle+ working-directory: app+ run: |+ Remove-Item build/windows/x64/runner/Release/localsend_msix_helper.msix+ Remove-Item build/windows/x64/runner/Release/install_msix_helper.ps1+# The SignPath artifact configuration expects "LocalSend-*-windows-x86-64.zip" containing "localsend_app.exe"- name: Zip compiled filesworking-directory: appdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex fd292f35..404c82dc 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -348,6 +348,10 @@ jobs:flutter-version: ${{ env.FLUTTER_VERSION }}channel: "stable"+ # Required by the CMake install step (app/windows/CMakeLists.txt installs localsend_msix_helper.msix)+ - name: Build MSIX helper+ run: '& ''C:\Program Files (x86)\Windows Kits\10\App Certification Kit\makeappx.exe'' pack /o /d support\build\msix /nv /p app\windows\localsend_msix_helper.msix'+- name: Dependenciesworking-directory: apprun: flutter pub get@@ -367,6 +371,13 @@ jobs:Copy-Item ../support/build/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/Copy-Item ../support/build/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/+ # The MSIX helper only makes sense for the installer; portable users should not register an MSIX package+ - name: Remove MSIX helper from portable bundle+ working-directory: app+ run: |+ Remove-Item build/windows/x64/runner/Release/localsend_msix_helper.msix+ Remove-Item build/windows/x64/runner/Release/install_msix_helper.ps1+# The SignPath artifact configuration expects "LocalSend-*-windows-x86-64.zip" containing "localsend_app.exe"- name: Zip compiled filesworking-directory: app