Skip to content

fix(ci): correct jwksfetch CLI project ref and add publish scope input#23

Merged
ShikeChen-MS merged 1 commit into
masterfrom
fix/publish-jwksfetch-project-and-scope-input
Jun 16, 2026
Merged

fix(ci): correct jwksfetch CLI project ref and add publish scope input#23
ShikeChen-MS merged 1 commit into
masterfrom
fix/publish-jwksfetch-project-and-scope-input

Conversation

@ShikeChen-MS

Copy link
Copy Markdown
Owner
  • Fix build-cli job using PROJECT_JWKSFETCHER (library) instead of the CLI executable project src/JwksFetch/JwksFetch.csproj; add PROJECT_JWKSFETCH env var (mirrors build-aot.yml) and update the Restore + Publish steps to use it. This was causing all 5 platform builds to fail with 'Expected output not found: .../jwksfetch'.

  • Add 'scope' workflow_dispatch choice input (all | cli-only | psmodule-only) so the publish workflow can be re-run targeting only the failing component without re-triggering the already-passing parts:
    all – existing behaviour (PS modules + CLI + NuGet)
    cli-only – build-cli + create-release only
    psmodule-only – PSGallery module publish only
    Jobs are guarded with if: conditions; create-release uses always() +
    per-job result checks to fire correctly when PS/NuGet jobs are skipped.

- Fix build-cli job using PROJECT_JWKSFETCHER (library) instead of the
  CLI executable project src/JwksFetch/JwksFetch.csproj; add
  PROJECT_JWKSFETCH env var (mirrors build-aot.yml) and update the
  Restore + Publish steps to use it. This was causing all 5 platform
  builds to fail with 'Expected output not found: .../jwksfetch'.

- Add 'scope' workflow_dispatch choice input (all | cli-only |
  psmodule-only) so the publish workflow can be re-run targeting only
  the failing component without re-triggering the already-passing parts:
    all          – existing behaviour (PS modules + CLI + NuGet)
    cli-only     – build-cli + create-release only
    psmodule-only – PSGallery module publish only
  Jobs are guarded with if: conditions; create-release uses always() +
  per-job result checks to fire correctly when PS/NuGet jobs are skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 16, 2026 00:53
@ShikeChen-MS ShikeChen-MS merged commit a5f892d into master Jun 16, 2026
0 of 2 checks passed
@ShikeChen-MS ShikeChen-MS deleted the fix/publish-jwksfetch-project-and-scope-input branch June 16, 2026 00:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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