-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use github action to publish snap #6063
Conversation
@Siedlerchr The upload is taking a lot longer than it should.. |
Please note that the snap craft upload is currently only for master branch, at least I saw a filter |
I don't know which action @Siedlerchr is referring to. Maybe you can add a link? @LyzardKing I would ❤️ if you added an ADR for the choice of the action. Just place it at https://github.com/JabRef/jabref/tree/master/docs/adr. I found following action as alternative - can just be added to the list of options ;) --> https://github.com/marketplace/actions/snapcraft-action |
The GitHub actions are from https://forum.snapcraft.io/t/call-for-testing-github-action-for-snapcraft/14930 |
b8ef7b7
to
21c6e5e
Compare
@@ -117,11 +117,11 @@ jobs: | |||
- name: Build snap (1) Setup snapcraft |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would make sense to run this in parallel as it's own job?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently does not work at all: https://github.com/JabRef/jabref/actions/runs/49715346
cannot read snap file "build/distribution/jabref*.snap"
Trying to debug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also very difficult to do it in parallel in a separate workflow (which is not what you meant, right?). IMHO it depends on the steps above (including jpackage, ...). Thus, we would need to duplicate 100 SLOC of the build file.
We could work with different jobs in the same build file. Then, we would need to introduce uploading the build
directory (more?) to GitHub as data passing between jobs can only be done that way. This is not comfortable (we have to be sure that we don't forget something)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot read is because the *
is not expanded. Fixed it in cd70746
Thanks both for looking at this.. |
Both master and the master-release fail at some point in the snapcraft upload |
@koppor I changed the snap to use https://builds.jabref.org/master/JabRef-5.0-portable_linux.tar.gz instead of the build artifact (you can see the comment in the snapcraft.yaml) to test it.. |
@Siedlerchr I think it might be easier if we try and run the snapcraft CI.. |
@LyzardKing Snapcraft runs but shows this weird message regarding license: https://build.snapcraft.io/user/JabRef/jabref/858770
|
@Siedlerchr The review is manual and will need roughly two weeks. |
Ah okay thanks for checking that! |
@LyzardKing The "manual review" is for each published version or a general "OK" for this and all upcoming next versions? |
As I understand it the approval should be done once for be permissions we asked. |
39fede5 Update associacao-brasileira-de-normas-tecnicas.csl (#6138) fde7695 Include chapter title (#6140) 1e3d8b4 Update n.d. abbreivation for DGP style (#6136) ebb728b suffix '.' after first group; changed e-mail (#6135) eed4f07 Update and rename sciences-po-ecole-doctorale-note-french.csl to scie… (#6127) f194647 Delete TU Dresden Medizin as requested by library (#6131) d8423d8 Create entomological-review.csl (#6120) 064a394 Create australasian-journal-of-philosophy.csl (#6063) a998ded Add composer.json (#5668) 37083c9 Update copernicus-publications.csl (#6062) 694c97b Create chaucer review (#6061) 625a424 Create haffner-style-manual.csl (#6054) 8b7224b make annals-of-allergy-asthma-and-immunology independent (#6041) 710748c Create university-of-pretoria-harvard-theology-religion.csl (#6106) d16dffd Create health-physics.csl (#6040) ca9e184 Update style-manual-australian-government.csl (#6119) e412277 Create chemical-engineering-technology.csl (#6039) bebdb48 Create bibliothek-forschung-und-praxis.csl (#6038) 29e49cd Update nature.csl (#6117) 891897d fix short title for SBL (#6118) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 39fede5
c750b6e APA: Put conditional event-title logic in a macro (#6161) a87414f Remove month from association-for-compuational-linguistics.csl (#6158) 6153db0 Remove issue numbers from BJOC style (#6155) e231ea3 Bug fix for `event` regression (#6154) 0dab651 Add event-title to other APA styles (#6153) 698cf1c APA: `event-title` and conditional `event` (#6152) 58d3f8f Update vancouver-author-date.csl (#6148) f1638a9 add substitute to Vancouver author date (#6147) 39fede5 Update associacao-brasileira-de-normas-tecnicas.csl (#6138) fde7695 Include chapter title (#6140) 1e3d8b4 Update n.d. abbreivation for DGP style (#6136) ebb728b suffix '.' after first group; changed e-mail (#6135) eed4f07 Update and rename sciences-po-ecole-doctorale-note-french.csl to scie… (#6127) f194647 Delete TU Dresden Medizin as requested by library (#6131) d8423d8 Create entomological-review.csl (#6120) 064a394 Create australasian-journal-of-philosophy.csl (#6063) a998ded Add composer.json (#5668) 37083c9 Update copernicus-publications.csl (#6062) 694c97b Create chaucer review (#6061) 625a424 Create haffner-style-manual.csl (#6054) 8b7224b make annals-of-allergy-asthma-and-immunology independent (#6041) 710748c Create university-of-pretoria-harvard-theology-religion.csl (#6106) d16dffd Create health-physics.csl (#6040) ca9e184 Update style-manual-australian-government.csl (#6119) e412277 Create chemical-engineering-technology.csl (#6039) bebdb48 Create bibliothek-forschung-und-praxis.csl (#6038) 29e49cd Update nature.csl (#6117) 891897d fix short title for SBL (#6118) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: c750b6e
Use github actions to publish,
to try and reduce the upload time