From 3f093df850f79a7d8a4eb80ace7d25e0a54e64e9 Mon Sep 17 00:00:00 2001 From: Marko Schrempf Date: Wed, 8 Jan 2025 15:04:31 +0100 Subject: [PATCH] fixed github action ubuntu version --- tools/github/README.md | 2 ++ tools/github/build-and-send.yaml | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/github/README.md b/tools/github/README.md index a9d1922..05cb91f 100644 --- a/tools/github/README.md +++ b/tools/github/README.md @@ -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. diff --git a/tools/github/build-and-send.yaml b/tools/github/build-and-send.yaml index fd207b5..598199a 100644 --- a/tools/github/build-and-send.yaml +++ b/tools/github/build-and-send.yaml @@ -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