Update main.yml
This commit is contained in:
		
							parent
							
								
									e43556b588
								
							
						
					
					
						commit
						c43482d5da
					
				|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue