input-output-hk / decentralized-software-updates

Research on a decentralized software update mechanism for blockchain systems
Apache License 2.0
7 stars 2 forks source link

Add GitHub action to build PDF and upload it as artifact for easy access #115

Closed mark-stopka closed 4 years ago

mark-stopka commented 4 years ago

This PR adds GitHub Actions workflow that upon push event compiles the LaTeX files into PDF and uploads it as artifact to respective GitHub Action job; this enables people to read work in progress papers without having to install rather large LaTeX build environment locally.

dnadales commented 4 years ago

Thanks @mark-stopka! I just submitted a PR https://github.com/input-output-hk/decentralized-software-updates/pull/116 where I link the compiled version to the README. If you think this is enough then we don't need to maintain another CI artifact. My main worry is that a document might not be able to be built if we require a specific latex package or tool not available in the environment this action uses to build the PDF.

mark-stopka commented 4 years ago

Link to latest hydra build seems good enough to me, thanks, I always have hard time finding stuff in hydra as I don't use it often, hehe =) Closing this PR.

dnadales commented 4 years ago

Yeah, you're right. We should have linked the PDF earlier. Since the spec is still under heavy development I didn't want to link it, but since people are reading it anyway, I might as well spare them the trouble of having to compile the PDF :)

Thank you very much for your contribution, and sorry for the inconvenience.