This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: Build LaTeX on Host
|
||||
on: [push]
|
||||
on: [push,watch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -19,8 +19,20 @@ jobs:
|
||||
- name: List files in the workspace
|
||||
run: ls -l
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
# - name: Upload PDF artifact
|
||||
# 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:
|
||||
name: distribution.pdf
|
||||
path: distribution.pdf
|
||||
gitea_token: ${{ secrets.RELEASE_TOKEN }}
|
||||
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