Maximilian Keßler
4d6a6f11be
Some checks failed
Gitea Actions Demo / checkout (push) Failing after -51s
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
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 /workspace/testorg/ci-test
|
|
pwd
|
|
ls /home
|
|
echo "end outer print"
|
|
|
|
- name: manual docker test
|
|
run: |
|
|
pwd
|
|
touch testfile
|
|
ls
|
|
echo "starting docker now"
|
|
docker run --help
|
|
docker run --rm -v "$pwd:$pwd" -w "$pwd" 'aergus/latex' /bin/bash -eo pipefail '-c' '--' $'pwd && ls'
|
|
echo "docker ended"
|
|
- name: compile
|
|
uses: xu-cheng/texlive-action@v2
|
|
with:
|
|
docker_image: aergus/latex
|
|
run: |
|
|
echo "in inner container"
|
|
pwd
|
|
ls /workspace/testorg/ci-test
|
|
echo "end inner print"
|
|
echo "starting compilation"
|
|
latexmk main.tex
|
|
- name: upload
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: artifact.tex
|
|
path: main.tex
|