fixed github action ubuntu version
This commit is contained in:
parent
3c63de6edb
commit
3f093df850
@ -2,3 +2,5 @@
|
||||
|
||||
The workflow `build-and-send.yaml` allows the user to build the diploma thesis via a github workflow.
|
||||
Adapt it to meet your needs.
|
||||
|
||||
Note that sending the thesis, and therefore automated emails, using a school email address is not supported. It is best to use an email address that does not correspond to your school email address.
|
||||
|
@ -6,10 +6,11 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- Diplomarbeit/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -19,7 +20,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install git build-essential make-guile texlive-full pandoc pandoc-citeproc tree rsync hunspell hunspell-de-at
|
||||
sudo apt-get install -y git build-essential make-guile texlive-full pandoc pandoc-citeproc tree rsync hunspell hunspell-de-at
|
||||
|
||||
|
||||
- name: Build DA-Thesis
|
||||
@ -27,7 +28,7 @@ jobs:
|
||||
make pdf -C HTLLE-DA-Vorlage SOURCEDIR=../Diplomarbeit/
|
||||
|
||||
|
||||
- name: Send File via Email
|
||||
- name: Send File via Email
|
||||
uses: dawidd6/action-send-mail@v2
|
||||
with:
|
||||
server_address: smtp.gmail.com
|
||||
|
Loading…
Reference in New Issue
Block a user