This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
name: Build LaTeX on Host
 | 
					name: Build LaTeX on Host
 | 
				
			||||||
on: [push]
 | 
					on: [push,watch]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
@@ -19,8 +19,20 @@ jobs:
 | 
				
			|||||||
      - name: List files in the workspace
 | 
					      - name: List files in the workspace
 | 
				
			||||||
        run: ls -l
 | 
					        run: ls -l
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Upload PDF artifact
 | 
					      # - name: Upload PDF artifact
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					      #   uses: actions/upload-artifact@v4
 | 
				
			||||||
 | 
					      #   with:
 | 
				
			||||||
 | 
					      #     name: distribution.pdf
 | 
				
			||||||
 | 
					      #     path: distribution.pdf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Create or Update Release
 | 
				
			||||||
 | 
					        uses: nico-castell/gitea-create-release@v1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: distribution.pdf
 | 
					          gitea_token: ${{ secrets.RELEASE_TOKEN }}
 | 
				
			||||||
          path: distribution.pdf
 | 
					          gitea_url: ${{ secrets.GITEA_URL }}
 | 
				
			||||||
 | 
					          tag_name: latest
 | 
				
			||||||
 | 
					          release_name: 'PDF'
 | 
				
			||||||
 | 
					          prerelease: true
 | 
				
			||||||
 | 
					          draft: false
 | 
				
			||||||
 | 
					          force_update: true # Overwrite the 'latest' release on each run
 | 
				
			||||||
 | 
					          files: distribution.pdf # Attach the compiled PDF
 | 
				
			||||||
		Reference in New Issue
	
	Block a user