Compare commits
	
		
			2 Commits
		
	
	
		
			cd7c55bf65
			...
			9e8cb311d1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9e8cb311d1 | |||
| 997ab1e2c8 | 
							
								
								
									
										27
									
								
								.gitea/workflows/build-package.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.gitea/workflows/build-package.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
				
			|||||||
 | 
					name: Package builder
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is building ${{ gitea.repo }}
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  BuildPackage:
 | 
				
			||||||
 | 
					    runs-on: autobuilder
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      volumes:
 | 
				
			||||||
 | 
					        - /home/builder/public/spark-extra/import:/import
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Show job info
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
 | 
				
			||||||
 | 
					          echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
 | 
				
			||||||
 | 
					          echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
 | 
				
			||||||
 | 
					      - name: Check out repository code
 | 
				
			||||||
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: Link the workdir into /buildroot # for script compatability with the old builder.
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          ln -vfs ${{ gitea.workspace }} /buildroot
 | 
				
			||||||
 | 
					      - name: Build the package
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          cd ${{ gitea.workspace }}
 | 
				
			||||||
 | 
					          /build -s --noconfirm
 | 
				
			||||||
 | 
					      - name: Put the packages into the import dir
 | 
				
			||||||
 | 
					        run: cp -v ./*.pkg.tar.zst /import
 | 
				
			||||||
		Reference in New Issue
	
	Block a user