This commit is contained in:
		
							
								
								
									
										17
									
								
								.gitea/workflows/pdf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.gitea/workflows/pdf.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
on:
 | 
			
		||||
  - push
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    name: Build pdf
 | 
			
		||||
    runs-on: 'docker'
 | 
			
		||||
    container:
 | 
			
		||||
      archlinux:latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - run: pacman -Sy --noconfirm nodejs git typst fontconfig ttf-linux-libertine ttf-inconsolata
 | 
			
		||||
      - uses: actions/checkout@v3
 | 
			
		||||
      - run: typst c main.typ
 | 
			
		||||
      - uses: actions/upload-artifact@v3
 | 
			
		||||
        with:
 | 
			
		||||
          name: main.pdf
 | 
			
		||||
          path: main.pdf
 | 
			
		||||
		Reference in New Issue
	
	Block a user