Skip to content

split texlive and dependencies installation #1

split texlive and dependencies installation

split texlive and dependencies installation #1

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 v8.3.1
./pillar/scripts/build.sh
- name: Prepare TeXlive
run: |
./_support/latex/sbabook/ci/install-texlive
- 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

Check failure on line 39 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 39
- 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