Update main.yml
This commit is contained in:
		
							parent
							
								
									c43482d5da
								
							
						
					
					
						commit
						c0b96b80e1
					
				| 
						 | 
					@ -33,7 +33,9 @@ jobs:
 | 
				
			||||||
          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 }}
 | 
				
			||||||
 | 
					          if [ "$RUNNER_OS" == "Windows" ]; then
 | 
				
			||||||
            npm install --g --production windows-build-tools
 | 
					            npm install --g --production windows-build-tools
 | 
				
			||||||
 | 
					          fi
 | 
				
			||||||
          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