Skip to content

Commit d5723cf

Browse files
committed
fix branch
1 parent e49728d commit d5723cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
env:
2929
GH_TOKEN: ${{ github.token }}
3030
run: |
31-
echo "Fetching lastest run of opencvsharp.yml on branch ${{ github.ref_name }}"
32-
RUN_ID=$(gh run list -R ${{ github.repository }} --workflow=opencvsharp.yml --branch=${{ github.ref_name }} --status=success --limit=1 --json databaseId | jq -r '.[0].databaseId')
31+
echo "Fetching lastest run of opencvsharp.yml on branch main"
32+
RUN_ID=$(gh run list -R ${{ github.repository }} --workflow=opencvsharp.yml --branch=main --status=success --limit=1 --json databaseId | jq -r '.[0].databaseId')
3333
echo "Latest opencvsharp run ID: $RUN_ID"
3434
echo "Downloading artifact 'opencvsharp-${{ matrix.os }}-${{ matrix.arch }}' from run ${RUN_ID}"
3535
gh run download -R ${{ github.repository }} $RUN_ID --name opencvsharp-${{ matrix.os }}-${{ matrix.arch }} --dir opencvsharp

0 commit comments

Comments
 (0)