GitHub WorkFlow pipeline split into separate "build" and "release" workflows#78
Draft
LazaroOnline wants to merge 5 commits intoTheFlyingFoool:masterfrom
Draft
Conversation
Contributor
Author
|
You can see an execution example in my Fork |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Currently the workflow pipelines are all in 1 file "autobuild_for_release.yml" which can only be run when a new release is published.
Goals:
Being able to run just the "build" workflow is important because
compiling locally is not the same as compiling in the workflow.
Most of us are using Windows and VisualStudio to compile,
while the workflow uses Ubuntu 22 Linux with mono.
The workflow can break for many reasons
appart from the mono-msbuild versus visualstudio-msbuild differences.
Sometimes in your local machine it compiles because
you have some required dependencies/SDK installed,
or local changes not commited.
The "build" workflow ensures it is all good.
Also whenever you modify something in the workflow itself,
it is easier to test separately.
Having a "build" only workflow is standard practice.
Some projects trigger the "build" on every commit to "master" to ensure the build is not broken.
I came across the current workflow limitation when adding the "checkout" with submodules for this other PR
it would also be used for migrating the csprojs to SDK style, and for the MacOS compatibility changes, or any significant change in the csprojs in general.