Skip to content

Commit

Permalink
migrating to Latex2023 + pillar 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Aug 23, 2024
1 parent 728c98c commit 43f6615
Showing 1 changed file with 8 additions and 36 deletions.
44 changes: 8 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,18 @@
name: Book generation
name: Pillar >10

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
schedule:
- cron: '0 0 * * 0'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Prepare Pillar
run: |
git clone https://github.com/pillar-markup/pillar.git -b v8.2.6
export PATH="$HOME/texlive/bin/x86_64-linux:$PWD/build:$PATH"
./pillar/scripts/ci/install-texlive
./_support/latex/ensure-dependencies-2018.sh
./pillar/scripts/build.sh
mkdir artifacts
- name: Build PDF
run: |
export PATH="$HOME/texlive/bin/x86_64-linux:$PWD/build:$PATH"
pillar build pdf book.md
mv _result/pdf/book.pdf _result/pdf/Booklet-CORMAS.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: false
title: "PDF (continuous release)"
files: |
_result/pdf/*.pdf
uses: SquareBracketAssociates/BookBuilderDashboard/.github/workflows/main.yml@newVersionOfPillar
with:
bookname: CormasPrimer

0 comments on commit 43f6615

Please sign in to comment.