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

Commit

Permalink
Add build steps for slides
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Behrens <diogo.behrens@huawei.com>
  • Loading branch information
db7 committed Apr 27, 2024
1 parent 7764dcd commit 961917b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release_slides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and release slides

on:
release:
types:
- published
- edited

jobs:


build-slides:
runs-on: ubuntu-latest
container: ghcr.io/open-s4c/latex:latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Build slides
run: |
make -C slides
cp slides/slides.pdf slides-${{ github.event.release.tag_name }}.pdf
- name: Release
uses: softprops/action-gh-release@v2
with:
files: slides-${{ github.event.release.tag_name }}.pdf
1 change: 1 addition & 0 deletions slides/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ${FROM_IMAGE}

RUN apt update \
&& apt install -y --no-install-recommends \
ca-certificates \
git \
make \
patch \
Expand Down

0 comments on commit 961917b

Please sign in to comment.