On 19/02/2022 17:52, BALATON Zoltan wrote:
On Sat, 19 Feb 2022, Mark Cave-Ayland wrote:
This is a GitHub push action that builds OpenBIOS for all of the currently supported architectures (amd64, sparc32, sparc64, ppc and x86) and generates an output zip file containing debug and release binaries.
The output zip file is stored both as a build artifact (which has a maximum lifetime of 90 days) and for upstream OpenBIOS builds a "latest" release is added to the repository.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
.github/workflows/main.yml | 103 +++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 .github/workflows/main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1217d9d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,103 @@ +name: Build OpenBIOS
+on: + push: + # Build for non-release tags only + branches: + - "*" + tags: + - "!v*"
Maybe v[0-9]* or similar is a better pattern for catching the right tags in case one happens to use some other tag starting with a v but maybe it won't happen in practice.
I think that's really unlikely given that it's a tag - I'd certainly be more worried if it also covered branches that began with "v", but that isn't the case here.
ATB,
Mark.