From c0b96b80e1e7a2c66b6b987ab0257d5318043eda Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Sat, 28 May 2022 20:23:08 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce8a5b4..d8da927 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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