Ender-events / pandoc

github action with pandoc + Metropolis Latex beamer theme
MIT License
4 stars 3 forks source link

Validation failed in Create Release #1

Open kgashok opened 4 years ago

kgashok commented 4 years ago

https://github.com/kgashok/pandoc-action-example/runs/559254024?check_suite_focus=true#step:5:9

I am using your example .yml file except

Why do I get this error?

Ender-events commented 4 years ago

I fork you project, remove some trailing whitespace and the github actions work

Github Actions log Diff

kgashok commented 4 years ago

I copied your version as is and still the problem persists. Diff

Meanwhile, was the t3.md generated during your run? And is it available for me to download it? Or could you make it available in a repo on github?

Thanks much!

kgashok commented 4 years ago

@Ender-events I have given you direct access to the repo, so in case you feel like editing the .yml file directly, please do so!

Ender-events commented 4 years ago

You have a valid release of your markdown here And you can download the t3.md of your project. The problem seem to be that there's already have a release with the tag.

The purpose of action is just to generate doc with pandoc + latex. Upload the generate file somewhere is out of the scope of this github actions.

In your yaml, you will need to restrict the run of simple.yml only for some tag. The creation of a release will be with the push of a tag (https://git-scm.com/book/en/v2/Git-Basics-Tagging) You can have an example here: https://github.com/Ender-events/cours-ada-epita/blob/cd-release/.github/workflows/slides.yml

kgashok commented 4 years ago

Thank you very much, @Ender-events

Quickly examining t3.md indicates it hasn't brought any of the images available as PDFs in the /figs directory.

My ultimate goal to build a Markdown version of Allen's book. He uses a makefile to build a PDF version and/or HTML version.

How to modify the Makefile to produce a Markdown file? Alternatively, is there an equivalent of doing this using github workflow?

Thanks again!