diff --git a/.github/workflows/release_slides.yml b/.github/workflows/release_slides.yml new file mode 100644 index 0000000..c2aae2c --- /dev/null +++ b/.github/workflows/release_slides.yml @@ -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