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

packages should be only published on demand #380

Merged
merged 11 commits into from
Jan 28, 2025

Conversation

PTKu
Copy link
Contributor

@PTKu PTKu commented Jan 28, 2025

closes #379

@PTKu PTKu linked an issue Jan 28, 2025 that may be closed by this pull request
PTKu added 10 commits January 28, 2025 13:13
Modified the GitHub Actions workflow file `dev.yml` to use the new `--do-publish-only` command for publishing packages. Added a new `DoPublishOnly` option to the `BuildParameters` class in `BuildParameters.cs`, which defaults to `false` and includes help text for performing only publishing tasks from previously created artifacts.

Updated several tasks in `Program.cs` to check for the `DoPublishOnly` parameter:
- `CleanUpTask`: Skips cleanup and logs a warning if `DoPublishOnly` is true.
- `ProvisionTask`: Skips provisioning and logs a warning if `DoPublishOnly` is true.
- `BuildTask`: Skips build and logs a warning if `DoPublishOnly` is true.
- `TestsTask`: Skips tests and logs a warning if `DoPublishOnly` is true.
- `CreateArtifactsTask`: Skips artifact creation and logs a warning if `DoPublishOnly` is true.
@PTKu PTKu marked this pull request as ready for review January 28, 2025 14:22
@PTKu PTKu merged commit 9f2238d into dev Jan 28, 2025
3 checks passed
@PTKu PTKu deleted the 379-packages-should-be-only-published-on-demand branch January 28, 2025 14:22
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.

packages should be only published on demand
1 participant