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