From 212777185d97956bb0df85fd21f72ec40d1b9d2c Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Mon, 29 May 2023 22:07:54 +0300 Subject: [PATCH] rebuild native deps --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ab3730..0818854 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,6 +52,7 @@ jobs: fi echo "DOWNLOAD_ALL_ARCHITECTURES=true" >> $GITHUB_ENV yarn run all:install + ./node_modules/.bin/electron-rebuild yarn run build yarn run build:app for file in open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.dmg; do @@ -71,6 +72,7 @@ jobs: elif [ "$RUNNER_OS" == "Linux" ]; then echo "DOWNLOAD_ALL_ARCHITECTURES=true" >> $GITHUB_ENV yarn run all:install + ./node_modules/.bin/electron-rebuild yarn run build yarn run build:app cp open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage @@ -81,10 +83,11 @@ jobs: cp open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.aarch64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.rpm else yarn run all:install + ./node_modules/.bin/electron-rebuild.cmd yarn run build yarn run build:app cp open-lens/dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - cp open-lens/dist/OpenLens*.exe packages/open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.exe + cp open-lens/dist/OpenLens*.exe open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.exe fi shell: bash working-directory: lens