Skip to content

Conversation

@DeagleGross
Copy link
Member

@DeagleGross DeagleGross commented May 8, 2025

Currently CI for main fails with error: "Stage build_test must contain at least one job with no dependencies.". That happens because first job is not unconditional:

- ${{ if and(eq(parameters.codesign, true), eq(parameters.publish_nuget, true)) }}:
  - job: PreDeploymentApprovalJob

I fixed to run job agentlessly (see pool: server) with manualValidation task; or on our pool with a simple echo of "Skipping pre-deployment approval". It takes 1 min to run this dummy-job, so not impacting the overall duration much.

related #9461

Microsoft Reviewers: Open in CodeFlow

@DeagleGross DeagleGross marked this pull request as ready for review May 8, 2025 16:25
@DeagleGross DeagleGross merged commit a20051a into dotnet:main May 9, 2025
28 checks passed
@DeagleGross DeagleGross deleted the dmkorolev/fix-ci branch May 9, 2025 14:03
@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants