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