Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

The workflow referenced steps.cli-path.outputs.path directly, but cli-path was an internal step within the composite action setup-copilot. Composite actions require explicit output declarations.

Changes

  • .github/actions/setup-copilot/action.yml: Added outputs section declaring cli-path output
  • .github/workflows/build-test.yml: Added id: setup-copilot to composite action step and updated reference to steps.setup-copilot.outputs.cli-path

Before

steps:
  - uses: ./.github/actions/setup-copilot
  - name: Run Java SDK tests
    env:
      COPILOT_CLI_PATH: ${{ steps.cli-path.outputs.path }}

After

steps:
  - id: setup-copilot
    uses: ./.github/actions/setup-copilot
  - name: Run Java SDK tests
    env:
      COPILOT_CLI_PATH: ${{ steps.setup-copilot.outputs.cli-path }}

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing build-test.yml workflow Fix composite action output reference in build-test workflow Jan 29, 2026
Copilot AI requested a review from brunoborges January 29, 2026 05:22
@brunoborges brunoborges marked this pull request as ready for review January 29, 2026 05:23
@brunoborges brunoborges merged commit 44e99cb into main Jan 29, 2026
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