mirror of
				https://github.com/JonasKruckenberg/tauri-build.git
				synced 2025-10-31 23:43:53 +00:00 
			
		
		
		
	update readme
This commit is contained in:
		
							parent
							
								
									53f9ac9b44
								
							
						
					
					
						commit
						530d0ad2b9
					
				
							
								
								
									
										16
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,9 +1,23 @@ | |||||||
| name: "Test" | name: "Test" | ||||||
| 
 | 
 | ||||||
| on: | on: | ||||||
|   push: |  | ||||||
|   workflow_dispatch: |   workflow_dispatch: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - main | ||||||
|  |     paths: | ||||||
|  |       - '.github/workflows/test.yml' | ||||||
|  |       - 'src/**' | ||||||
|  |       - 'test/**' | ||||||
|  |       - 'package.json' | ||||||
|  |       - 'pnpm-lock.yaml' | ||||||
|   pull_request: |   pull_request: | ||||||
|  |     paths: | ||||||
|  |       - '.github/workflows/test.yml' | ||||||
|  |       - 'src/**' | ||||||
|  |       - 'test/**' | ||||||
|  |       - 'package.json' | ||||||
|  |       - 'pnpm-lock.yaml' | ||||||
| 
 | 
 | ||||||
| concurrency: | concurrency: | ||||||
|   group: ${{ github.workflow }}-${{ github.ref }} |   group: ${{ github.workflow }}-${{ github.ref }} | ||||||
|  | |||||||
							
								
								
									
										57
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										57
									
								
								README.md
									
									
									
									
									
								
							| @ -152,8 +152,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         platform: [macos-latest, ubuntu-latest, windows-latest] |         platform: | ||||||
|         include: |  | ||||||
|           - os: ubuntu-latest |           - os: ubuntu-latest | ||||||
|             rust_target: x86_64-unknown-linux-gnu |             rust_target: x86_64-unknown-linux-gnu | ||||||
|           - os: macos-latest |           - os: macos-latest | ||||||
| @ -163,36 +162,42 @@ jobs: | |||||||
|           - os: windows-latest |           - os: windows-latest | ||||||
|             rust_target: x86_64-pc-windows-msvc |             rust_target: x86_64-pc-windows-msvc | ||||||
| 
 | 
 | ||||||
|     runs-on: ${{ matrix.platform }} |     runs-on: ${{ matrix.platform.os }} | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |     - uses: actions/checkout@v3 | ||||||
|  |      | ||||||
|  |     - name: setup node | ||||||
|  |       uses: actions/setup-node@v3 | ||||||
|  |       with: | ||||||
|  |         node-version: 18 | ||||||
| 
 | 
 | ||||||
|       - name: setup node |     - name: 'Setup Rust' | ||||||
|         uses: actions/setup-node@v1 |       uses: actions-rs/toolchain@v1 | ||||||
|         with: |       with: | ||||||
|           node-version: 16 |         default: true | ||||||
|  |         override: true | ||||||
|  |         profile: minimal | ||||||
|  |         toolchain: stable | ||||||
|  |         target: ${{ matrix.platform.rust_target }} | ||||||
| 
 | 
 | ||||||
|       - name: install Rust stable |     - uses: Swatinem/rust-cache@v2 | ||||||
|         uses: actions-rs/toolchain@v1 |  | ||||||
|         with: |  | ||||||
|           toolchain: stable |  | ||||||
| 
 | 
 | ||||||
|       - name: install dependencies (ubuntu only) |     - name: install dependencies (ubuntu only) | ||||||
|         if: matrix.platform == '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@v1 |     - uses: JonasKruckenberg/tauri-build@v1.2.2 | ||||||
|         id: tauri_build |       id: tauri_build | ||||||
|         with: |       with: | ||||||
|           target: ${{ matrix.rust_target }} |         target: ${{ matrix.platform.rust_target }} | ||||||
| 
 | 
 | ||||||
|       # The `artifacts` output can now be used by a different action 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') }}" | ||||||
| 
 | 
 | ||||||
|   publish: |   publish: | ||||||
|     needs: build-binaries |     needs: build-binaries | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user