Update main.yml

This commit is contained in:
Muhammed Kalkan 2022-05-28 20:23:08 +03:00 committed by GitHub
parent c43482d5da
commit c0b96b80e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ jobs:
git clone https://github.com/lensapp/lens.git
cd lens
git checkout v${{ env.LENS_VERSION }}
npm install --g --production windows-build-tools
if [ "$RUNNER_OS" == "Windows" ]; then
npm install --g --production windows-build-tools
fi
make build
if [ "$RUNNER_OS" == "macOS" ]; then
mv dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg dist/OpenLens-${{ env.LENS_VERSION }}.dmg