Fix release.yml
Some checks failed
Compile LaTeX and Release PDF / build_latex (push) Failing after 50s
Some checks failed
Compile LaTeX and Release PDF / build_latex (push) Failing after 50s
This commit is contained in:
parent
3195ab040c
commit
b865ddcea3
1 changed files with 12 additions and 12 deletions
|
@ -31,21 +31,21 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pdflatex main.tex
|
pdflatex main.tex
|
||||||
|
|
||||||
- name: Create release
|
# Step 4: Upload the compiled PDF as a release asset
|
||||||
uses: actions/forgejo-release@v2
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
|
||||||
release-dir: ./
|
|
||||||
direction: upload
|
|
||||||
url: https://git.leomurca.xyz
|
|
||||||
repo: leomurca/resume
|
|
||||||
title: "New release!"
|
|
||||||
release-notes: "MY RELEASE NOTES"
|
|
||||||
|
|
||||||
# Step 5: Upload the compiled PDF as a release asset
|
|
||||||
- name: Upload PDF to Release
|
- name: Upload PDF to Release
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: main.pdf # The file to upload as the release asset
|
name: main.pdf # The file to upload as the release asset
|
||||||
path: main.pdf # Path to the compiled PDF
|
path: main.pdf # Path to the compiled PDF
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
uses: actions/forgejo-release@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
release-dir: /
|
||||||
|
direction: upload
|
||||||
|
url: https://git.leomurca.xyz
|
||||||
|
repo: leomurca/resume
|
||||||
|
title: "New release!"
|
||||||
|
release-notes: "MY RELEASE NOTES"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue