Skip to content
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

Split build/test and publish stages into separate templates #1652

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lbussell
Copy link
Contributor

This is needed for https://github.com/dotnet/dotnet-docker-internal/issues/7413, because we need to call the publish stage separately from the build/test stages. I took the simplest approach, which is just making the build and publish stages their own templates, with their own inputs.

build-test-publish-repo.yml still contains some important default values, so the next step would probably be to push the default values down into the sub-templates. We can also pull the giant nested conditional out of publish.yml back up into build-test-publish-repo.yml, because that logic assumes that you aren't running the publish stage by itself.

@lbussell lbussell requested a review from a team as a code owner March 19, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants