Skip to content

Commit 98d1bfc

Browse files
committed
fix targets array trigger via PR
1 parent d5ff023 commit 98d1bfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
runs-on: pg01-rocm
2121
strategy:
2222
matrix:
23-
target: ${{ fromJSON(
24-
(github.event_name == 'workflow_dispatch' && inputs || github.event.client_payload).targets
25-
) }}
23+
target: ${{
24+
github.event_name == 'workflow_dispatch' && fromJSON(inputs.targets) || github.event.client_payload.targets
25+
}}
2626
env:
2727
RUN_URL: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
2828
RUN_TRIGGER: ${{

0 commit comments

Comments
 (0)