Publish daily snaps as downloadable artifacts on GitHub #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose of this PR is to publish the daily built snaps via the upload-artifact GitHub action, so that users can download them for testing purposes.
The main workflow for users will be the installation through the Snap store as usual, but those testing development builds will now have the additional ability to download snaps directly navigating through the Actions section in this GitHub repo.
This will allow regression testing or help with bisecting the last known good version before an issue. Before this PR, this would not be possible, as the snap store only provided the latest uploaded version of a snap for each channel.
By default, the availability of artifacts is 90 days before they are scrubbed. This parameter can be changed in the project's setting on GitHub, but I feel it's a good default already.
I've tested this to work on my local fork. The result can be seen under the "Artifacts" section at: https://github.com/furgo16/FreeCAD-snap/actions/runs/11301498114
One difference in my local fork is that the snap is not being uploaded to the store. That should generally not interfere with uploading artifacts, but it remains to be tested in the main FreeCAD-snap repo.
Further refinements on this PR could be to: