Skip to content

Commit 072d967

Browse files
committed
fix checkout on non pr_target
1 parent 9d45fb6 commit 072d967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# --only-rhel
6464
echo 'matrix={"target":["amd-jupyter-pytorch-rhel9-python-3.9","amd-jupyter-tensorflow-rhel9-python-3.9"]}' >> ${GITHUB_OUTPUT}
6565
echo 'has_jobs=true' >> ${GITHUB_OUTPUT}
66-
id: gen2
66+
id: gen
6767
shell: bash
6868

6969
# builda:
@@ -83,9 +83,9 @@ jobs:
8383
needs: ["gen"]
8484
strategy:
8585
fail-fast: false
86-
matrix: "${{ fromJson(needs.gen2.outputs.matrix) }}"
86+
matrix: "${{ fromJson(needs.gen.outputs.matrix) }}"
8787
uses: ./.github/workflows/build-notebooks-TEMPLATE.yaml
88-
if: ${{ fromJson(needs.gen2.outputs.has_jobs) }}
88+
if: ${{ fromJson(needs.gen.outputs.has_jobs) }}
8989
with:
9090
target: "${{ matrix.target }}"
9191
github: "${{ toJSON(github) }}"

0 commit comments

Comments
 (0)