Skip to content

Commit 09cd898

Browse files
authored
Update main.yml
1 parent 2c66429 commit 09cd898

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Prebuild DevX closures
22
on:
33
push:
4-
branches:
5-
- main
64

75
workflow_dispatch:
86

@@ -34,7 +32,8 @@ jobs:
3432
id: set-matrix
3533
run: |
3634
# Group the output by platform.
37-
CHECK_RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs" --paginate)
35+
jq --version
36+
CHECK_RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/main/check-runs" --paginate)
3837
echo "checks..."
3938
FILTERED=$(jq -c -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }' <<< "$CHECK_RUNS")
4039
echo "filtered..."

0 commit comments

Comments
 (0)