feat(workflow): Add build workflow
This commit is contained in:
20
.gitea/build.yaml
Normal file
20
.gitea/build.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Build document
|
||||
run-name: Build from ${{ gitea.actor }} 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Compile LaTeX document
|
||||
uses: dante-ev/latex-action@latest
|
||||
with:
|
||||
root_file: ProgettareSistemi.tex
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ProgettareSistemi.pdf
|
||||
path: ./ProgettareSistemi.pdf
|
||||
Reference in New Issue
Block a user