Skip to content

Commit 195a422

Browse files
Copilotbrunoborges
andcommitted
Fix composite action output reference in build-test workflow
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent 9ff8225 commit 195a422

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/actions/setup-copilot/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: "Setup Copilot"
22
description: "Setup Copilot CLI for testing the Java SDK."
3+
outputs:
4+
cli-path:
5+
description: "Path to the Copilot CLI executable"
6+
value: ${{ steps.cli-path.outputs.path }}
37
runs:
48
using: "composite"
59
steps:

.github/workflows/build-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
shell: bash
2828
steps:
2929
- uses: actions/checkout@v6
30-
- uses: ./.github/actions/setup-copilot
30+
- id: setup-copilot
31+
uses: ./.github/actions/setup-copilot
3132
- uses: actions/setup-java@v5
3233
with:
3334
java-version: "17"
@@ -48,5 +49,5 @@ jobs:
4849
- name: Run Java SDK tests
4950
env:
5051
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
51-
COPILOT_CLI_PATH: ${{ steps.cli-path.outputs.path }}
52+
COPILOT_CLI_PATH: ${{ steps.setup-copilot.outputs.cli-path }}
5253
run: mvn verify

0 commit comments

Comments
 (0)