Skip to content

Merge branch 'newVersionOfPillar' of github.com:SquareBracketAssociat… #2

Merge branch 'newVersionOfPillar' of github.com:SquareBracketAssociat…

Merge branch 'newVersionOfPillar' of github.com:SquareBracketAssociat… #2

Workflow file for this run

on:
workflow_call:
inputs:
bookname:
description: 'Filename of the book to be built (e.g. mybook)'
required: true
type: string
jobs:
build:
runs-on: ubuntu-latest
env:
TEXLIVE_RELEASE: '2023'
steps:
- uses: actions/checkout@v3
- name: Set PATH
run: |
echo "${{ github.workspace }}/build" >> $GITHUB_PATH
echo "$HOME/texlive/bin/x86_64-linux" >> $GITHUB_PATH
- name: Prepare Pillar
run: |
git clone https://github.com/pillar-markup/pillar.git -b v10.2.0
./pillar/scripts/build.sh
- name: Prepare TeXlive
run: |

Check failure on line 30 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
./_support/latex/sbabook/ci/install-texlive
- name: Install SBA TeXlive Dependencies
run: |
tlmgr install bibtex
- name: Install SBA TeXlive Dependencies
run: |
xargs tlmgr install < ./_support/latex/sbabook/texlive.deps
- name: Install Pillar Template TeXlive Dependencies
run: |
xargs tlmgr install < ./_support/latex/texlive.deps
- name: Build PDF
run: |
pillar build pdf index.*
mkdir -p artifacts
mv _result/pdf/index.pdf "artifacts/${{ inputs.bookname }}.pdf"
- name: Continuous Release
if: ${{ github.event_name == 'push' }}
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
artifacts/*.pdf