Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Rabah committed Nov 25, 2024
1 parent f872ae5 commit 9c428bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: create file list
id: files_list
run: |
# echo "Lorem ipsum" > lorem_1.md # create two example files
# echo "dolor sit amet" > lorem_2.md
mkdir output # create output dir
# echo "files=$(printf '"%s" ' *.md)" > $GITHUB_OUTPUT
$GITHUB_OUTPUT=introduction/*.md strategie/*.md ux/*.md ui/*.md code/*.md architecture/*.md
$GITHUB_OUTPUT="introduction/*.md strategie/*.md ux/*.md ui/*.md code/*.md architecture/*.md"

- uses: docker://pandoc/latex
with:
args: --output=output/Referentiel-ECOCONCEPTION.pdf ${{ steps.files_list.outputs.files }} --metadata-file pandoc-assets/meta.yml --pdf-engine xelatex --metadata-file pandoc-assets/meta.yml --template pandoc-assets/templates/eisvogel.tex --from markdown+yaml_metadata_block+raw_html+rebase_relative_paths

- uses: actions/upload-artifact@v4
with:
name: output
Expand Down

0 comments on commit 9c428bf

Please sign in to comment.