Skip to content

Commit 70347bb

Browse files
committed
allow push
1 parent 8b83691 commit 70347bb

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/build-notebooks-pr-rhel.yaml

+17-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
--from-ref 'origin/${{ github.event.pull_request.base.ref }}' \
4949
--to-ref '${{ github.event.pull_request.head.ref }}' \
5050
--only-rhel
51-
id: gen
51+
id: gen1
5252
shell: bash
5353

5454
- name: Determine targets to build based on changed files
@@ -61,16 +61,29 @@ jobs:
6161
--from-ref '5e5841e116d75e643d3f84cd918cbdcf172076d5' \
6262
--to-ref '1d8611e3f89a82e543bf67d0b49a02e11eb7c203' \
6363
--only-rhel
64-
id: gen
64+
id: gen2
6565
shell: bash
6666

67-
build:
67+
builda:
6868
needs: ["gen"]
6969
strategy:
7070
fail-fast: false
7171
matrix: "${{ fromJson(needs.gen.outputs.matrix) }}"
7272
uses: ./.github/workflows/build-notebooks-TEMPLATE.yaml
73-
if: ${{ fromJson(needs.gen.outputs.has_jobs) }}
73+
if: ${{ fromJson(needs.gen1.outputs.has_jobs) }}
74+
with:
75+
target: "${{ matrix.target }}"
76+
github: "${{ toJSON(github) }}"
77+
subscription: true
78+
secrets: inherit
79+
80+
buildb:
81+
needs: ["gen"]
82+
strategy:
83+
fail-fast: false
84+
matrix: "${{ fromJson(needs.gen.outputs.matrix) }}"
85+
uses: ./.github/workflows/build-notebooks-TEMPLATE.yaml
86+
if: ${{ fromJson(needs.gen2.outputs.has_jobs) }}
7487
with:
7588
target: "${{ matrix.target }}"
7689
github: "${{ toJSON(github) }}"

0 commit comments

Comments
 (0)