Initial commit
This commit is contained in:
		
						commit
						2e381f5605
					
				
					 1 changed files with 24 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								.forgejo/workflows/build.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.forgejo/workflows/build.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
name: Build
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    name: Build project
 | 
			
		||||
    runs-on: shell
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
      - name: Build package
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo solbuild build --profile main-x86_64
 | 
			
		||||
      - name: Copy to NFS
 | 
			
		||||
        run: |
 | 
			
		||||
          ctn-tool \
 | 
			
		||||
              --project-name "$(echo ${{ env.GITHUB_REPOSITORY }} | cut -d'/' -f2)" \
 | 
			
		||||
              --source-dir ./ \
 | 
			
		||||
              --nfs-address ${{ secrets.NFS_ADDRESS }} \
 | 
			
		||||
              --nfs-port ${{ secrets.NFS_PORT }} \
 | 
			
		||||
              --nfs-path ${{ secrets.NFS_PATH }} \
 | 
			
		||||
              --gpg-key ${{ secrets.GPG_KEY }}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue