-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cbe4a6
commit 5724590
Showing
3 changed files
with
50 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build LaTeX document | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: Build LaTeX document | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build 🏗️ | ||
uses: dante-ev/latex-action@latest | ||
with: | ||
root_file: "Mitgliedsantrag Westwoodlabs.tex" | ||
compiler: latexmk | ||
args: -pdf -latexoption=-file-line-error -latexoption=-interaction=nonstopmode | ||
|
||
- name: Upload build artifacts 💾 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: "Mitgliedsantrag Westwoodlabs" | ||
path: "Mitgliedsantrag Westwoodlabs.pdf" | ||
|
||
release: | ||
needs: build | ||
name: Release LaTeX document | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Download artifacts 💾 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: "Mitgliedsantrag Westwoodlabs" | ||
|
||
- name: Display structure of downloaded files 🔍 | ||
run: ls -R | ||
|
||
- name: Upload binaries to release 🚀 | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: "Mitgliedsantrag Westwoodlabs.pdf" | ||
overwrite: true | ||
file_glob: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters