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 6bbaf68
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release_slides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and release slides

on:
release:
types:
- published
- edited

jobs:
build-release:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}

build-slides:
runs-on: ubuntu-latest
container: ghcr.io/open-s4c/latex:latest
steps:
- name: Build slides
run: |
make -C slides
cp slides/slides.pdf slides-${{ github.event.release.tag_name }}.pdf
pubish-slides:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Release
uses: softprops/action-gh-release@v2
with:
files: slides-${{ github.event.release.tag_name }}.pdf

0 comments on commit 6bbaf68

Please sign in to comment.