File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,21 +40,24 @@ jobs:
40
40
41
41
- name : Wait for other jobs to finish
42
42
uses : lewagon/wait-on-check-action@v1.3.4
43
+ id : wait-on-jobs
43
44
continue-on-error : true
44
45
with :
45
46
ref : ${{ github.event.pull_request.head.sha || github.sha }}
46
47
repo-token : ${{ secrets.GITHUB_TOKEN }}
47
48
wait-interval : 30
48
- check-regexp : ' ^Arduino [0-9]+ on ubuntu-latest$'
49
+ # check-regexp: '^Arduino [0-9]+ on ubuntu-latest$'
50
+ check-regexp : ' ^Arduino 3 on ubuntu-latest$'
49
51
50
52
- name : Get compilation workflow ID
51
53
id : save-workflow-id
54
+ if : ${{ steps.wait-on-jobs.outcome != 'success' }}
52
55
env :
53
56
GH_TOKEN : ${{ github.token }}
54
57
run : |
55
58
RUNID=$(gh api repos/${{ github.repository }}/commits/${{ github.event.pull_request.head.sha }}/check-runs | jq -r '.check_runs[] | select(.name|test("Arduino [0-9]+ on ubuntu-latest")) | .html_url | capture("/runs/(?<number>[0-9]+)/job") | .number' | sed 's/"//g' | head -n 1)
56
- echo "RUNID=$RUNID" >> $GITHUB_ENV
57
59
echo "Arduino compilation workflow ID: $RUNID"
60
+ # echo "RUNID=$RUNID" >> $GITHUB_ENV
58
61
59
62
- name : Download compilation artifacts
60
63
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments