forked from GeyserMC/Geyser
		
	Merge pull request #195 from LegacyGamerHD/patch-1
Archive all artifacts when building pull requests
This commit is contained in:
		
						commit
						3863cdb58f
					
				
					 1 changed files with 26 additions and 2 deletions
				
			
		
							
								
								
									
										28
									
								
								.github/workflows/pullrequest.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/pullrequest.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -23,9 +23,33 @@ jobs:
 | 
				
			||||||
        uses: snickerbockers/submodules-init@v4
 | 
					        uses: snickerbockers/submodules-init@v4
 | 
				
			||||||
      - name: Build with Maven
 | 
					      - name: Build with Maven
 | 
				
			||||||
        run: mvn -B package
 | 
					        run: mvn -B package
 | 
				
			||||||
      - name: Archive artifacts
 | 
					      - name: Archive artifacts (Geyser Standalone)
 | 
				
			||||||
        uses: actions/upload-artifact@v1
 | 
					        uses: actions/upload-artifact@v1
 | 
				
			||||||
        if: success()
 | 
					        if: success()
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: Geyser
 | 
					          name: Geyser Standalone
 | 
				
			||||||
          path: bootstrap/standalone/target/Geyser.jar
 | 
					          path: bootstrap/standalone/target/Geyser.jar
 | 
				
			||||||
 | 
					      - name: Archive artifacts (Geyser Bukkit)
 | 
				
			||||||
 | 
					        uses: actions/upload-artifact@v1
 | 
				
			||||||
 | 
					        if: success()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          name: Geyser Bukkit
 | 
				
			||||||
 | 
					          path: bootstrap/bukkit/target/Geyser-Bukkit.jar
 | 
				
			||||||
 | 
					      - name: Archive artifacts (Geyser BungeeCord)
 | 
				
			||||||
 | 
					        uses: actions/upload-artifact@v1
 | 
				
			||||||
 | 
					        if: success()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          name: Geyser BungeeCord
 | 
				
			||||||
 | 
					          path: bootstrap/bungeecord/target/Geyser-BungeeCord.jar
 | 
				
			||||||
 | 
					      - name: Archive artifacts (Geyser Sponge)
 | 
				
			||||||
 | 
					        uses: actions/upload-artifact@v1
 | 
				
			||||||
 | 
					        if: success()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          name: Geyser Sponge
 | 
				
			||||||
 | 
					          path: bootstrap/sponge/target/Geyser-Sponge.jar
 | 
				
			||||||
 | 
					      - name: Archive artifacts (Geyser Velocity)
 | 
				
			||||||
 | 
					        uses: actions/upload-artifact@v1
 | 
				
			||||||
 | 
					        if: success()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          name: Geyser Velocity
 | 
				
			||||||
 | 
					          path: bootstrap/velocity/target/Geyser-Velocity.jar
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue