lunduniversity / introprog

Teaching material for "Introduction to Programming using Scala" at Lund University, LTH. http://cs.lth.se/pgk/
140 stars 167 forks source link

update workflow file #730

Closed fritjof-b closed 1 year ago

fritjof-b commented 1 year ago
bjornregnell commented 1 year ago

Many thanks!

bjornregnell commented 1 year ago

You have question in the main.yml file by the end i an comment regarding the path.

Where should it be uploaded? Is there a special artifact place under the repo created then on github or something? How are credentials or login handled or this is not needed?

fritjof-b commented 1 year ago

No credentials needed. GH actions has its own store for artefacts (in this case PDFs). So when the build completes, you should be able to navigate to something like Actions > Build > Artifacts > {foo.pdf, bar.pdf}

So the idea was that if a build succeeds, we can view the generated compendium from that build. It's a minor thing, I was just unsure of where the PDFs are placed once generated since I was playing around in the Github environment on my fork... :-)

bjornregnell commented 1 year ago

Ok great! Feel free to test with whatever path you think is necessary and let me know if I need to configure something as repo owner.