Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
add GH Actions CI (#18)
Browse files Browse the repository at this point in the history
* add GH Actions CI

* add some badges to the README

* always force rebuilding in CI
  • Loading branch information
simeonschaub authored Apr 28, 2021
1 parent 2824065 commit 006cff8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build_latex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build LaTeX document
on:
push:
pull_request:
workflow_dispatch:
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/texlive-action/full@v1
with:
run: |
apk add make
make -B
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: PDF
path: main.pdf
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Thesisvorlage für die Fakultät für Physik am KIT

[![Build LaTeX document](https://github.com/fsphys/thesisvorlage-latex/actions/workflows/build_latex.yml/badge.svg)](https://github.com/fsphys/thesisvorlage-latex/actions/workflows/build_latex.yml)
[![PDF Preview](https://img.shields.io/badge/docs-dev-blue.svg)](https://nightly.link/fsphys/thesisvorlage-latex/workflows/build_latex/master/PDF.zip)

This thesis class is strongly related to the [Praktikumsvorlage](https://github.com/fsphys/praktikum-protokollvorlage-latex/).

## Use the template
Expand Down

0 comments on commit 006cff8

Please sign in to comment.