Skip to content

Commit 9c1c101

Browse files
authored
Update main.yml
1 parent f9feb05 commit 9c1c101

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
id: set-matrix
3333
run: |
3434
# Group the output by platform.
35-
RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/main/check-runs" --paginate)
35+
RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/2c66429a549f1122374faf3e1eb097e07a8f0c22/check-runs" --paginate)
3636
echo "checks..."
3737
FILTERED=$(jq -c -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }' <<< "$RUNS")
3838
jq . <<< "$FILTERED"
@@ -51,11 +51,10 @@ jobs:
5151
group: ${{ fromJson(needs.discover.outputs.matrix) }}
5252
name: Process Jobs for ${{ matrix.group.platform }}
5353
outputs:
54-
jobs: ${{ steps.set-jobs.outputs.jobs }}
54+
jobs: ${{ toJson(matrix.group.jobs) }} # Direct output definition
5555
steps:
5656
- name: No-op step (required to have at least one step)
57-
id: set-jobs
58-
run: echo "jobs=${{ toJson( matrix.group.jobs ) }}" >> $GITHUB_OUTPUT
57+
run: echo "no-op"
5958

6059
ghcr-upload:
6160
needs: process

0 commit comments

Comments
 (0)