openjournals / openjournals-draft-action

Experimental GitHub Action
MIT License
52 stars 12 forks source link

paper draft pdf fails with inara #9

Closed villaa closed 2 years ago

villaa commented 2 years ago

So I see recently the repository has switched over to inara. Using the template that is still on the front-facing README, I am getting errors in the build like: `Could not find data file templates/latex.template' , see this repository.

Our build .yml file is:

on: [push]

jobs:
  paper:
    runs-on: ubuntu-latest
    name: Paper Draft
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Build draft PDF
        uses: openjournals/openjournals-draft-action@master
        with:
          journal: jose
          # This should be the path to the paper within your repo.
          paper-path: paper/paper.md
      - name: Upload
        uses: actions/upload-artifact@v1
        with:
          name: paper
          # This is the output path where Pandoc will write the compiled
          # PDF. Note, this should be the same directory as the input
          # paper.md
          path: paper/paper.pdf

Do we need to update this file? Can someone suggest a course of action?

tarleb commented 2 years ago

Thank you for the report. This was a bug in the Inara image; it should be fixed now. No action should be required on your side.

Please let me know if the problems persist. Sorry for the inconvenience.

villaa commented 2 years ago

Thank you for the report. This was a bug in the Inara image; it should be fixed now. No action should be required on your side.

Please let me know if the problems persist. Sorry for the inconvenience.

Seems to work now--thanks @tarleb !

tarleb commented 2 years ago

Great to hear! Thanks again