ci-test/.github/workflows/demo.yaml

34 lines
817 B
YAML
Raw Normal View History

2023-10-16 15:08:43 +02:00
name: Gitea Actions Demo
2023-10-16 15:09:53 +02:00
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
2023-10-16 15:08:43 +02:00
on: [push]
jobs:
checkout:
runs-on: ubuntu-latest
steps:
- name: check out repo
uses: actions/checkout@v3
- name: list files
run: |
echo "In outer docker container:"
ls
pwd
2023-10-16 16:17:22 +02:00
ls /home
2023-10-16 15:08:43 +02:00
echo "end outer print"
- name: compile
uses: xu-cheng/texlive-action@v2
with:
docker_image: aergus/latex
run: |
echo "in inner container"
pwd
ls
echo "end inner print"
echo "starting compilation"
latexmk main.tex
- name: upload
uses: actions/upload-artifact@v3
with:
name: artifact.tex
2023-10-16 15:20:19 +02:00
path: main.pdf