mirror of
				https://github.com/JonasKruckenberg/tauri-build.git
				synced 2025-10-31 09:23:54 +00:00 
			
		
		
		
	update node version
This commit is contained in:
		
							parent
							
								
									31cf3d35ab
								
							
						
					
					
						commit
						77da3385e8
					
				| @ -28,7 +28,7 @@ jobs: | ||||
|           git config --global user.email "${{ github.event.pusher.email }}" | ||||
|       - uses: actions/setup-node@v4.0.1 | ||||
|         with: | ||||
|           node-version: '16.x' | ||||
|           node-version: 20 | ||||
|           registry-url: 'https://registry.npmjs.org' | ||||
|       - uses: pnpm/action-setup@v2.4.0 | ||||
|         name: Install pnpm | ||||
| @ -60,8 +60,8 @@ jobs: | ||||
|         if: steps.covector.outputs.commandRan == 'version' | ||||
|         with: | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|           title: "Publish New Versions" | ||||
|           commit-message: "publish new versions" | ||||
|           labels: "version updates" | ||||
|           branch: "release" | ||||
|           title: 'Publish New Versions' | ||||
|           commit-message: 'publish new versions' | ||||
|           labels: 'version updates' | ||||
|           branch: 'release' | ||||
|           body: ${{ steps.covector.outputs.change }} | ||||
|  | ||||
							
								
								
									
										64
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										64
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| name: "Test" | ||||
| name: 'Test' | ||||
| 
 | ||||
| on: | ||||
|   workflow_dispatch: | ||||
| @ -40,39 +40,39 @@ jobs: | ||||
| 
 | ||||
|     runs-on: ${{ matrix.platform.os }} | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4 | ||||
|       - uses: actions/checkout@v4 | ||||
| 
 | ||||
|     - name: setup node | ||||
|       uses: actions/setup-node@v4 | ||||
|       with: | ||||
|         node-version: 18 | ||||
|       - name: setup node | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20 | ||||
| 
 | ||||
|     - name: 'Setup Rust' | ||||
|       uses: actions-rs/toolchain@v1 | ||||
|       with: | ||||
|         default: true | ||||
|         override: true | ||||
|         profile: minimal | ||||
|         toolchain: stable | ||||
|         target: ${{ matrix.platform.rust_target }} | ||||
|       - name: 'Setup Rust' | ||||
|         uses: actions-rs/toolchain@v1 | ||||
|         with: | ||||
|           default: true | ||||
|           override: true | ||||
|           profile: minimal | ||||
|           toolchain: stable | ||||
|           target: ${{ matrix.platform.rust_target }} | ||||
| 
 | ||||
|     - uses: Swatinem/rust-cache@v2 | ||||
|       - uses: Swatinem/rust-cache@v2 | ||||
| 
 | ||||
|     - name: install dependencies (ubuntu only) | ||||
|       if: matrix.platform.os == 'ubuntu-latest' | ||||
|       run: | | ||||
|         sudo apt-get update | ||||
|         sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf | ||||
|       - name: install dependencies (ubuntu only) | ||||
|         if: matrix.platform.os == 'ubuntu-latest' | ||||
|         run: | | ||||
|           sudo apt-get update | ||||
|           sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf | ||||
| 
 | ||||
|     - uses: JonasKruckenberg/tauri-build@main | ||||
|       id: tauri_build | ||||
|       with: | ||||
|         target: ${{ matrix.platform.rust_target }} | ||||
|         projectPath: ./test/fixture | ||||
|     - run: | | ||||
|         echo "${{ steps.tauri_build.outputs.artifacts }}" | ||||
|     # The artifacts output can now be used to upload the artifacts | ||||
|     - uses: actions/upload-artifact@v3 | ||||
|       with: | ||||
|         name: artifacts | ||||
|         path: "${{ join(fromJSON(steps.tauri_build.outputs.artifacts), '\n') }}" | ||||
|       - uses: JonasKruckenberg/tauri-build@main | ||||
|         id: tauri_build | ||||
|         with: | ||||
|           target: ${{ matrix.platform.rust_target }} | ||||
|           projectPath: ./test/fixture | ||||
|       - run: | | ||||
|           echo "${{ steps.tauri_build.outputs.artifacts }}" | ||||
|       # The artifacts output can now be used to upload the artifacts | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|           name: artifacts | ||||
|           path: "${{ join(fromJSON(steps.tauri_build.outputs.artifacts), '\n') }}" | ||||
|  | ||||
| @ -39,7 +39,7 @@ jobs: | ||||
|       - name: setup node | ||||
|         uses: actions/setup-node@v1 | ||||
|         with: | ||||
|           node-version: 16 | ||||
|           node-version: 20 | ||||
| 
 | ||||
|       - name: install Rust stable | ||||
|         uses: actions-rs/toolchain@v1 | ||||
| @ -88,7 +88,7 @@ jobs: | ||||
|       - name: setup node | ||||
|         uses: actions/setup-node@v1 | ||||
|         with: | ||||
|           node-version: 16 | ||||
|           node-version: 20 | ||||
| 
 | ||||
|       - name: install Rust stable | ||||
|         uses: actions-rs/toolchain@v1 | ||||
| @ -169,7 +169,7 @@ jobs: | ||||
|     - name: setup node | ||||
|       uses: actions/setup-node@v3 | ||||
|       with: | ||||
|         node-version: 18 | ||||
|         node-version: 20 | ||||
| 
 | ||||
|     - name: 'Setup Rust' | ||||
|       uses: actions-rs/toolchain@v1 | ||||
|  | ||||
| @ -21,5 +21,5 @@ outputs: | ||||
|   artifacts: | ||||
|     description: 'JSON array of artifact paths produced by the build command' | ||||
| runs: | ||||
|   using: 'node16' | ||||
|   using: 'node20' | ||||
|   main: 'dist/index.js' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user