remove dependence on the EXTRA env

This commit is contained in:
Megrez Lu 2023-01-29 16:15:04 +08:00
parent 8729abbcf8
commit 389a75b3a8
1 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ jobs:
fi
yarn
yarn run build
env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" yarn run build:app
yarn run build:app
for file in packages/open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.dmg; do
if [[ "$file" == *"arm64"* ]]; then
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg
@ -71,7 +71,8 @@ jobs:
elif [ "$RUNNER_OS" == "Linux" ]; then
yarn
yarn run build
env ELECTRON_BUILDER_EXTRA_ARGS="--x64 --arm64" yarn run build:app
yarn run build:app
ls packages/open-lens/dist/
cp packages/open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage
cp packages/open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb
cp packages/open-lens/dist/OpenLens-${{ env.LENS_VERSION }}.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm