-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
OSGeo4W workflow: Archive artifacts #1212
base: main
Are you sure you want to change the base?
Conversation
Hmm... Is it a critical error?
Looks like it's fine...
|
The artifacts download page shows the uncompressed size, not the actual download size. It can be confusing. Artifact upload strips away the root directory when compressing. For example, uploading
instead of
Also, is this compressed OSGeo4W64 folder recognized by the OSGeo4W64 installer when later one tries to upgrade this installation? |
What is the format of artifact URLs? https://github.com/OSGeo/grass/suites/1725687151/artifacts/32660968 How can we download them programmatically? |
|
That's cool. Thanks! https://api.github.com/repos/OSGeo/grass/actions/artifacts However, clicking url or archive_download_url doesn't start downloading.
Clicking the latter URL says "You must have the actions scope to download artifacts." In https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#download-an-artifact, "GitHub Apps must have the |
see PackagingInstructions how OSGeo4W packages should be packaged. Especially:
and the naming convention:
see http://download.osgeo.org/osgeo4w/x86_64/release/grass/grass/ and http://download.osgeo.org/osgeo4w/x86_64/release/grass/grass-daily/ for OSGeo4W winGRASS packages. and see add "Windows batchfiles for use with R" to OSGeo4W where I were successfull to build a correct and working OSGeo4W package ;-) |
and see https://github.com/landam/wingrass-maintenance-scripts for Martin's script to automatically build the OSGeo4W packages. |
Thanks for the info. Currently, it's just a zipped OSGeo4W folder with GRASS under
|
Yes, in the API response you get a list of available artifacts with a download URL. Here: https://github.community/t/access-to-github-actions-npm-registry-for-hostedtoolcache/17546/6 is a post that may cover the topic... But others, like @wenzeslaus , know much more about Github Actions than I do... |
For "daily" (or per-commit) builds, isn't the issue this: actions/upload-artifact#21? However, for releases, there seems to be a way: https://github.com/softprops/action-gh-release. In any case, you can also upload from a job, e.g., to an FTP server. |
Bumping up milestone as 8.0.1 is due in two days, while this has not been part of RC1 and there has not been activity for some time. |
Do we now know what are the files that are needed to get out of the runner at the end of the job? Does it need to be an osgeo4w feedable archive? |
Once we know that info, it would be quite fast to refresh this PR (or a new one) with the current patterns |
No, the osgeo4w nightlies are run outside of github. package.sh is based on my original osgeo4w script and is now also used for building the OSGeo4W nightlies (and release packages). |
This is a follow-up PR from #692. In this PR, I'm testing artifact uploading to archive packages built by the workflow.