Skip to content

Commit c0cb63b

Browse files
committed
Fix Workflow
1 parent 4e41bcc commit c0cb63b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pre-commit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ jobs:
4646
wait-interval: 30
4747
check-regexp: '^Arduino [0-9]+ on ubuntu-latest$'
4848

49-
- name: Get workflow id
49+
- name: Get compilation workflow ID
5050
id: save-workflow-id
5151
run: |
5252
RUNID=$(gh api repos/${{ github.repository }}/commits/${{ github.event.pull_request.head.sha }}/check-runs | \
5353
jq -r '.check_runs[] | \
54-
select(.name == "Arduino 0 on ubuntu-latest") | |
54+
select(.name == "Arduino 0 on ubuntu-latest") | \
5555
.html_url | \
5656
capture("/runs/(?<number>[0-9]+)/job") | \
5757
.number' | \
5858
sed 's/"//g' | \
5959
head -n 1)
6060
echo "RUNID=$RUNID" >> $GITHUB_ENV
61-
echo "Workflow id: $RUNID"
61+
echo "Arduino compilation workflow ID: $RUNID"
6262
6363
- name: Download compilation artifacts
6464
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)