mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-30 21:02:27 +00:00 
			
		
		
		
	Add WAMR-IDE vscode extension to the Visual Studio Marketplace (#1868)
Publish an extension to the visual studio marketplace using a secret token. This allows for automation to take place because downloading and installing the extension is a manual process so it'd be simpler if the extension was published automatically through the visual studio marketplace.
This commit is contained in:
		
							parent
							
								
									1f4580fbd8
								
							
						
					
					
						commit
						df4b135086
					
				
							
								
								
									
										3
									
								
								.github/workflows/build_wamr_vscode_ext.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/build_wamr_vscode_ext.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -32,11 +32,14 @@ jobs: | |||
|         working-directory: test-tools/wamr-ide/VSCode-Extension | ||||
| 
 | ||||
|       - name: generate wamr ide vscode extension | ||||
|         env:  | ||||
|           credentials: ${{ secrets.TOKEN }} | ||||
|         run: | | ||||
|           npm install -g vsce | ||||
|           rm -rf node_modules | ||||
|           npm install | ||||
|           vsce package | ||||
|           vsce publish -p ${{ secrets.TOKEN }} | ||||
|         working-directory: test-tools/wamr-ide/VSCode-Extension | ||||
| 
 | ||||
|       - name: compress the vscode extension | ||||
|  |  | |||
							
								
								
									
										1
									
								
								.github/workflows/release_process.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/release_process.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -150,6 +150,7 @@ jobs: | |||
|   release_wamr_ide_vscode_ext: | ||||
|     needs: [create_tag, create_release] | ||||
|     uses: ./.github/workflows/build_wamr_vscode_ext.yml | ||||
|     secrets: inherit | ||||
|     with: | ||||
|       upload_url: ${{ needs.create_release.outputs.upload_url }} | ||||
|       ver_num: ${{ needs.create_tag.outputs.new_ver }} | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|     "name": "wamride", | ||||
|     "publisher": "wamr", | ||||
|     "publisher": "wamr-publisher", | ||||
|     "repository": { | ||||
|         "url": "https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/test-tools/wamr-ide" | ||||
|     }, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Fadumina
						Fadumina