Add workflow to generate appstream releases file #93
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.
I have a need for there to be a hosted XML releases file, conforming to the Appstream Metadata format, which someday might be consumed by Flatpaks and maybe SNAPs. We already serve a similar file in JSON format here using github pages, it's just not in the correct data shape.
This PR attempts to add a new workflow which can generate the file, starting with our current mozillavpn.json file as the source of truth.
For this to take effect, we also need to update the Github Pages configuration to deploy from a workflow rather than uploading static artifacts. The configuration is as follows:
![Screenshot from 2024-08-23 18-48-54](https://private-user-images.githubusercontent.com/7256630/361092855-2d205d26-d2b6-414f-aa97-ebe4db8cbe12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTE2MzEsIm5iZiI6MTczOTI1MTMzMSwicGF0aCI6Ii83MjU2NjMwLzM2MTA5Mjg1NS0yZDIwNWQyNi1kMmI2LTQxNGYtYWE5Ny1lYmU0ZGI4Y2JlMTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDUyMjExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGE1MzFhYjliNGU3MGVlMjRlMzA1OWZjYTc2MTgzNjI3NDhkYTljYTY5ZmU2Nzg0OTQzM2E3ZGEyZTIwYTU0MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xKe9Fj26sTy25xyUdPowhZvLu91e55gLMary9ByL7Pw)