Skip to content

Commit 0281e87

Browse files
committed
fix(ci): Add job outputs for update-cli composite action
The update-cli job was refactored from a reusable workflow to a composite action but was missing job-level outputs. The update-binaries job depends on outputs from update-cli (originalTag, latestTag, prBranch). Without these outputs mapped at the job level, the workflow would fail when trying to access them via needs.update-cli.outputs.*. Add outputs section to map step outputs to job outputs and add step id to enable output access.
1 parent 2974ce3 commit 0281e87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-deps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
update-cli:
2121
name: Update CLI
2222
runs-on: ubuntu-latest
23+
outputs:
24+
originalTag: ${{ steps.updater.outputs.originalTag }}
25+
latestTag: ${{ steps.updater.outputs.latestTag }}
26+
prBranch: ${{ steps.updater.outputs.prBranch }}
2327
steps:
24-
- uses: getsentry/github-workflows/updater@v3
28+
- id: updater
29+
uses: getsentry/github-workflows/updater@95603f4efe938315ff0dd427a1f2bb40b1889a92 # v3
2530
with:
2631
path: script/sentry-cli.properties
2732
name: CLI

0 commit comments

Comments
 (0)