mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	ci: github action for macos artifacts
This commit is contained in:
		
							
								
								
									
										31
									
								
								.github/workflows/create-artifact-macos.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/create-artifact-macos.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | |||||||
|  | name: Create artifact [MACOS] | ||||||
|  |  | ||||||
|  | on:  | ||||||
|  |   workflow_dispatch: {} | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: macos-latest | ||||||
|  |     steps: | ||||||
|  |       - name: Check out Git repository | ||||||
|  |         uses: actions/checkout@v3 | ||||||
|  |  | ||||||
|  |       - name: Install Node.js | ||||||
|  |         uses: actions/setup-node@v3 | ||||||
|  |         with: | ||||||
|  |           node-version: 16 | ||||||
|  |  | ||||||
|  |       - name: npm install & build | ||||||
|  |         run: | | ||||||
|  |           npm install | ||||||
|  |           npm run build | ||||||
|  |  | ||||||
|  |       - name: Upload Artifact | ||||||
|  |         uses: actions/upload-artifact@v3 | ||||||
|  |         with: | ||||||
|  |           name: linux-build | ||||||
|  |           retention-days: 3 | ||||||
|  |           path: | | ||||||
|  |             build | ||||||
|  |             !build/*-unpacked | ||||||
|  |             !build/.icon-ico | ||||||
		Reference in New Issue
	
	Block a user