Conversation
Working on automating compiling of tex
Trying to get the syntax right.
Basic build seems to work (?), but adding upload of the resulting pdf.
Switching from release artifact, to just artifact.
Instead of uploading artifacts to actions, make a release.
We don't need the pre-built pdf with the new automation workflow.
Errored out on last commit because the 'release' was already named. This may fix it.
|
Ok, this currently works by building a pdf and putting it into a new release. I'm basing this on: Now, one difference from the above is that it will build on every commit, whereas following the above would only build when a release is tagged. Any comments or thoughts on this @tomchor? This file can be linked to as: |
|
One concern about this is (maybe) releases are independent of branches? So that would seem to say that if people were committing to a branch, it would still update the main document (via the latest release), even if not merged into main? |
|
I'm not sure I understand when the PDF is built. Is it after every commit that's submitted on any PR? If so, where's that new PDF stored? From your last comment it seems you also have similar questions though. Although I'm relatively certain that releases are attached to branches. When I publish a new release (or tag a new version) I need to specify what branch that release/tag is gonna be associated with. I don't have any experience setting up github workflows, but a couple of thoughts are:
|
Yes, it's built after every commit, if you click on the latest release you will see the newly generated pdf. For example:
Yes that's true :)
I think I understand what it does (aside from the issue of whether releases are attached to branches or to repos). Just not sure whether this is a good idea in practice. |
Working on automating compiling of tex