Skip to content

Commit 4ae77e2

Browse files
committed
Use summary instead of text
fixes #208
1 parent bede246 commit 4ae77e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# Group the output by platform.
3838
RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs" --paginate)
3939
echo "checks..."
40-
FILTERED=$(jq -c -r '.check_runs[] | select(.name | endswith("-env")) | select(.name | startswith("${{ inputs.platform }}")) | { "config": .name, "build_path": .output.text, "short_name": .name | sub("${{ inputs.platform }}\\.";"") }' <<< "$RUNS")
40+
FILTERED=$(jq -c -r '.check_runs[] | select(.name | endswith("-env")) | select(.name | startswith("${{ inputs.platform }}")) | { "config": .name, "build_path": .output.summary, "short_name": .name | sub("${{ inputs.platform }}\\.";"") }' <<< "$RUNS")
4141
jq . <<< "$FILTERED"
4242
MATRIX=$(jq --slurp -c -r '.' <<< "$FILTERED")
4343
jq . <<< "$MATRIX"
@@ -86,7 +86,7 @@ jobs:
8686
# codespace-upload:
8787
# env:
8888
# IMAGE_NAME: input-output-hk/devx-devcontainer
89-
# needs: ghcr-upload
89+
# needs: process
9090
# permissions:
9191
# packages: write
9292
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)