Skip to content

Build book in CI

Build book in CI #34

Workflow file for this run

---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
MAKEFLAGS: --jobs=4
LILYPOND_VERSION: 2.24.1
TECTONIC_VERSION: 0.15.0
VARIANTS_PDF: eogsized
SKIP_SPELLCHECK: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile
build-args: LILYPOND_VERSION=${{ env.LILYPOND_VERSION }}
tags: my-lilydock:${{ env.LILYPOND_VERSION }}
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
tectonic-version: ${{ env.TECTONIC_VERSION }}
- name: Build PDFs
uses: addnab/docker-run-action@v3
with:
options: |
--volume ${{ github.workspace }}:${{ github.workspace }}
--workdir ${{ github.workspace }}
--env MAKEFLAGS
--env VARIANTS_PDF
image: my-lilydock:${{ env.LILYPOND_VERSION }}
run:
- git config --global --add safe.directory '*'

Check failure on line 43 in .github/workflows/lilypond.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/lilypond.yml (Line: 43, Col: 13): A sequence was not expected
- make --environment-overrides booklayout/toplevel.pdf
- uses: actions/upload-artifact@v4
with:
name: pdfs
path: PDF/*/*.pdf