mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Testing - Update GH testing to filter completed reference branch testing #365
This commit is contained in:
parent
fb73c3b712
commit
5a186c7b1a
@ -1761,7 +1761,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
response=$(curl -s \
|
response=$(curl -s \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
"https://api.github.com/repos/${{ github.repository }}/actions/runs?branch=${{ github.event.pull_request.base.ref }}")
|
"https://api.github.com/repos/${{ github.repository }}/actions/runs?branch=${{ github.event.pull_request.base.ref }}&status=completed")
|
||||||
latest_run_id=$(echo "$response" | jq -r '.workflow_runs[] | select(.name=="Build and Test OCCT on Multiple Platforms") | .id' | head -n 1)
|
latest_run_id=$(echo "$response" | jq -r '.workflow_runs[] | select(.name=="Build and Test OCCT on Multiple Platforms") | .id' | head -n 1)
|
||||||
echo "latest_run_id=$latest_run_id" >> $GITHUB_ENV
|
echo "latest_run_id=$latest_run_id" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user