Using build artifacts from netbeans for personal github actions #7321
-
Hi, I'm not sure who can answer this. I see that the free github account has a free storage limit of 500MB. I wonder if we should be careful when downloading builds from apache/netbeans repo github actions ? I don't want to increase the quota cost for this repository. It's more part of an experiment to be able to build npm plugins directly with github actions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I am not sure what you mean by "this repository". NetBeans release artifacts are released to maven central (and the IDE packages to the download page), the typical way to depend on NB would be to simply add maven dependencies (e.g for plugins or NB platform applications).
what would you download from apache/netbeans repo github actions? I am a bit confused ;)
according to https://github.com/settings/billing/summary, quote:
gh action artifacts and release packages influence storage. So it will depend what you actually do in your gh actions. (also keep an eye on the CI usage minutes) |
Beta Was this translation helpful? Give feedback.
-
I was thinking when someone would access this kind of links : https://github.com/apache/netbeans/actions/runs/8803272227/artifacts/1440047180 I was going on a presumption that getting artifacts directly from github would be faster. Now I also remembered that we have build links https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/ So I will start my experiments by using the official build website. The end goal is to experiment with a deploy + build nbm system for a plugin. Thank you for your answer. |
Beta Was this translation helpful? Give feedback.
The build artifact is a temporary artifact of the workflow and cleaned up once all jobs finished. You can't download that unless the build fails. This is there for debugging purposes.
The dev builds on jenkins are for manual testing of the most recent bits directly from the master branch.
But again. you should not download netbeans at all during the build. plugins would simply depend on some modules and thats it.
example:
https://github.com/mbien/xpath-util
https://github.com/mbien/xpath-util/blob/master/pom.xml