File tree 1 file changed +17
-16
lines changed
1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -20,25 +20,25 @@ concurrency:
20
20
21
21
jobs :
22
22
23
- branch_eval :
24
- runs-on : ubuntu-latest
25
- outputs :
26
- branches : ${{ steps.determine-branches.outputs.branches }}
27
- steps :
28
- - id : determine-branches
29
- shell : bash
30
- run : |
31
- if [ "${{ github.event.repository.name == 'ci-gha-workflow' }}" = "true" ] ; then
32
- echo "branches=[ '4.x', '5.x' ]" >> "$GITHUB_OUTPUT"
33
- else
34
- echo "branches=[ '${{ github.base_ref }}' ]" >> "$GITHUB_OUTPUT"
35
- fi
23
+ # branch_eval:
24
+ # runs-on: ubuntu-latest
25
+ # outputs:
26
+ # branches: ${{ steps.determine-branches.outputs.branches }}
27
+ # steps:
28
+ # - id: determine-branches
29
+ # shell: bash
30
+ # run: |
31
+ # if [ "${{ github.event.repository.name == 'ci-gha-workflow' }}" = "true" ] ; then
32
+ # echo "branches=[ '4.x', '5.x' ]" >> "$GITHUB_OUTPUT"
33
+ # else
34
+ # echo "branches=[ '${{ github.base_ref }}' ]" >> "$GITHUB_OUTPUT"
35
+ # fi
36
36
37
37
Ubuntu :
38
38
# runs-on: opencv-ru-lin-riscv
39
39
runs-on : opencv-cn-lin-x86-64
40
- needs :
41
- - branch_eval
40
+ # needs:
41
+ # - branch_eval
42
42
strategy :
43
43
# Debugging
44
44
# fail-fast: true
50
50
- ' 24.04'
51
51
- ' 22.04'
52
52
- ' 20.04'
53
- branch : ${{ fromJSON(needs.branch_eval.outputs.branches )}}
53
+ # branch: ${{ fromJSON(needs.branch_eval.outputs.branches )}}
54
+ branch : [ ${{ github.event.repository.name == 'ci-gha-workflow' && '''4.x'', ''5.x''' || github.base_ref }} ]
54
55
include :
55
56
- version : ' 24.04'
56
57
image : ' 24.04:20241031'
You can’t perform that action at this time.
0 commit comments