From 22ccc1ede388bf2be6c3fae3b25db6c4d86723bf Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Wed, 11 Sep 2024 09:13:30 +0200 Subject: [PATCH] Update example-doc.yml --- .github/workflows/example-doc.yml | 34 ++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/.github/workflows/example-doc.yml b/.github/workflows/example-doc.yml index 96d329b..b5ec52f 100644 --- a/.github/workflows/example-doc.yml +++ b/.github/workflows/example-doc.yml @@ -19,16 +19,40 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Build PDF + - name: Build draft PDF run: >- docker run \ --volume "$(pwd):/data" \ --user "$(id -u):$(id -g)" \ openjournals/inara:latest \ - -o contextpdf example/paper.md + -o "jats,contextpdf,crossref,preprint" example/paper.md - - name: Upload PDF + - name: Upload draft PDF uses: actions/upload-artifact@v3 with: - name: paper - path: example/paper.context.pdf + name: draft + path: | + example/jats/paper.jats + example/paper.context.pdf + example/paper.crossref + example/paper.pdf + example/paper.preprint.tex + + - name: Build production PDF + run: >- + docker run \ + --volume "$(pwd):/data" \ + --user "$(id -u):$(id -g)" \ + openjournals/inara:latest \ + -o "jats,contextpdf,crossref,preprint" -p example/paper.md + + - name: Upload production PDF + uses: actions/upload-artifact@v3 + with: + name: production + path: | + example/jats/paper.jats + example/paper.context.pdf + example/paper.crossref + example/paper.pdf + example/paper.preprint.tex