parent
					
						
							
								4e454cb047
							
						
					
				
			
			
				commit
				
					
						fea3996866
					
				
			
		
					 1 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								.forgejo/workflows/build.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.forgejo/workflows/build.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
on: [push]
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy:
 | 
			
		||||
    runs-on: docker
 | 
			
		||||
    container: debian:sid
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Prepare for installation
 | 
			
		||||
        run: apt update
 | 
			
		||||
      - name: Install JDK
 | 
			
		||||
        run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git
 | 
			
		||||
 | 
			
		||||
      - name: Clone repository
 | 
			
		||||
        run: git clone https://git.m724.eu/Minecon724/realweather.git .
 | 
			
		||||
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: mvn clean package
 | 
			
		||||
      - name: Upload artifacts
 | 
			
		||||
        uses: https://github.com/actions/upload-artifact@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: target/realweather-*.jar
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue