Update main.yml

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

View File

@ -28,14 +28,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 14.19.3
- name: Add VS to path
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.1
- name: Build Lens
run: |
git clone https://github.com/lensapp/lens.git
cd lens
git checkout v${{ env.LENS_VERSION }}
npm install --g --production windows-build-tools
make build
if [ "$RUNNER_OS" == "macOS" ]; then
mv dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg dist/OpenLens-${{ env.LENS_VERSION }}.dmg