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
Switch Build To Cake Frosting #8225
Closed
AristurtleDev
wants to merge
46
commits into
MonoGame:develop
from
AristurtleDev:feature/cake-frosting-build
Closed
Switch Build To Cake Frosting #8225
AristurtleDev
wants to merge
46
commits into
MonoGame:develop
from
AristurtleDev:feature/cake-frosting-build
Conversation
This file contains 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
Contains constants to all csproj paths for MonoGame.
This is an effort to prevent the number of Actions that run due to PRs being submitted. This adjusts it so that it will only run the action on a PR when the PR is either opened, reopened, or synchronized (aka a new commit pushed)
This will be added to a new workflow later
Switching from cake build to cake frosting, restoring tools is no longer needed.
These are used to upload artifacts from the cake frosting task
This will only execute when a push has occurred to the develop branch. This will build and deploy the NuGets to the GitHub Nuget repository.
Remove old cake build stuff in favor of new cake frosting project
I see quite a few things that need improving, I'll see if I can push em directly to this PR instead of writing em all down 😄 |
You should be able to, if it doesn't let you, let me know and I can check the fork settings |
Superseded by #8234 |
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.
Description
This PR switches the build system from a Cake .NET build script to a Cake Frosting .NET Project. Switching to a Cake Frosting project allows the monolithic build script to be separated into more maintainable parts for each part of the build process.
The GitHub Actions workflow was also updated to go along with this switch and has been split into two separate workflows
develop
branchMotivation
The original motivation for this came from the discussion in Issue #8106: Update nuget.org feed with MonoGame develop builds. This is in effort to setup the process of having weekly pre-release Nugets pushed to the official NuGet source.
The motivation for this PR was also to update the automated build steps to a more modern approach that is more maintainable. Using Cake Frosting is also the build process being used for all new repositories in the MonoGame space, such as the new lib dependency repositories.
The change in the workflow was to ensure that the NuGets are only pushed when a merge happens and pushed to the develop branch, and not for every PR made and subsequent commit made to open PRs.
References: