ASPRSorg / LAS

LAS Specification
https://www.asprs.org/committee-general/laser-las-file-format-exchange-activities.html
146 stars 17 forks source link

Migrate automated builds to GitHub Actions #97

Closed hobu closed 3 years ago

hobu commented 4 years ago
esilvia commented 4 years ago

Thanks for bringing this up. I recently noticed GitHub add this functionality and it seemed like it was designed specifically for us. Have you played around with Actions yet @hobu ?

Since you used Docker in the implementation, it does seem like it wouldn't be too bad to migrate over, in theory, and definitely preferable over the house of cards we currently have. But it's never as easy as it looks.

hobu commented 4 years ago

Have you played around with Actions yet @hobu ?

Yes, I have done tons of Actions stuff, and I'll port this over to use it when I get a few cycles.

esilvia commented 3 years ago

There's a warning about using "ubuntu-latest" after I completed the merge. Is that a concern? Or should we freeze the ubuntu version?

https://github.com/ASPRSorg/LAS/actions/runs/421953703

esilvia commented 3 years ago
hobu commented 3 years ago

There's a warning about using "ubuntu-latest" after I completed the merge. Is that a concern? Or should we freeze the ubuntu version?

It shouldn't be a problem, but you can pin to ubuntu-18.04 if you are worried. See https://github.blog/changelog/2020-10-29-github-actions-ubuntu-latest-workflows-will-use-ubuntu-20-04/ for more detail.

esilvia commented 3 years ago

It's just that I noticed a few subtle changes in the resultant PDF – e.g., "Continued on next page" --> "continues on next page", and paragraphs no longer break in the middle... In this case, both changes were an improvement, but I'm nervous changes might occur unnoticed simply because GitHub changed their ubuntu version.

esilvia commented 3 years ago

What about preempting the change by freezing it at ubuntu-20.04 while we're still paying attention?

esilvia commented 3 years ago

That seems to have worked. https://github.com/ASPRSorg/LAS/commit/c073bdb91c606af8ba3603c554a0ae4e42de06d0

I'll proceed with ubuntu-20.04 "permanently" tagged.

@hobu Thanks for figuring this out. I love how much cleaner the source is now.

esilvia commented 3 years ago

Is there a way to upload the PDF directly without compressing it in a ZIP?

manleypv commented 3 years ago

image

Here? Looks like you can just drag and drop files.

hobu commented 3 years ago

Is there a way to upload the PDF directly without compressing it in a ZIP?

No. GitHub artifacts can only be ZIP files. IIRC, there was some ticket traffic to relax that for a known set of content types, but it hasn't happened yet.

manleypv commented 3 years ago

ManleyAcademicCV_2020.pdf

manleypv commented 3 years ago

I guess you don't mean in these comments.

hobu commented 3 years ago

I guess you don't mean in these comments.

Correct. It's annoying to have to unzip the build artifacts from the new GitHub Actions process.

esilvia commented 3 years ago

@manleypv I'm talking about the PDF artifact posted after the PDF builds, such as here: https://github.com/ASPRSorg/LAS/actions/runs/494923522

@hobu Thanks for confirming. I couldn't find any way to do that either.