Skip to content

Update build.yml

Update build.yml #18

Workflow file for this run

name: Build PDF
on: [push]
jobs:
build-and-run:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: lilypond_docker/Dockerfile
push: false
tags: lilypond
cache-from: type=gha
cache-to: type=gha,mode=max
load: true
- name: Compile handout
run: ./build.sh handout
- name: Archive handout
uses: actions/upload-artifact@v3
with:
name: handout
path: handout.pdf
- name: Compile booklet
run: ./build.sh booklet
- name: Archive booklet
uses: actions/upload-artifact@v3
with:
name: booklet
path: booklet.pdf