rebuild native deps

This commit is contained in:
Muhammed Kalkan 2023-05-29 22:07:54 +03:00 committed by GitHub
parent 42664545fc
commit 212777185d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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