From 8e381f14633fe7ad42f79bb9574201b4336fe984 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Wed, 11 Sep 2024 09:12:47 +0200 Subject: [PATCH] Update example-doc.yml --- .github/workflows/example-doc.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/example-doc.yml b/.github/workflows/example-doc.yml index c8de88a..b5ec52f 100644 --- a/.github/workflows/example-doc.yml +++ b/.github/workflows/example-doc.yml @@ -14,14 +14,6 @@ jobs: build: name: Example PDF runs-on: ubuntu-latest - env: - FORMATS: 'jats,contextpdf,crossref,preprint' - PATHS: | - example/jats/paper.jats - example/paper.context.pdf - example/paper.crossref - example/paper.pdf - example/paper.preprint.tex steps: - name: Checkout @@ -33,13 +25,18 @@ jobs: --volume "$(pwd):/data" \ --user "$(id -u):$(id -g)" \ openjournals/inara:latest \ - -o ${{ FORMATS }} example/paper.md + -o "jats,contextpdf,crossref,preprint" example/paper.md - name: Upload draft PDF uses: actions/upload-artifact@v3 with: name: draft - path: ${{ PATHS }} + path: | + example/jats/paper.jats + example/paper.context.pdf + example/paper.crossref + example/paper.pdf + example/paper.preprint.tex - name: Build production PDF run: >- @@ -47,10 +44,15 @@ jobs: --volume "$(pwd):/data" \ --user "$(id -u):$(id -g)" \ openjournals/inara:latest \ - -o ${{ FORMATS }} -p example/paper.md + -o "jats,contextpdf,crossref,preprint" -p example/paper.md - name: Upload production PDF uses: actions/upload-artifact@v3 with: name: production - path: ${{ PATHS }} + path: | + example/jats/paper.jats + example/paper.context.pdf + example/paper.crossref + example/paper.pdf + example/paper.preprint.tex