Skip to content

Commit 0f5783f

Browse files
committed
try a fix for the dynamic artifact list
1 parent 9ecfc00 commit 0f5783f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build_artifacts.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,13 @@ jobs:
6363
matrix:
6464
runner: ["windows-x86-n2-64", "linux-x86-n2-16", "linux-arm64-t2a-16"]
6565
artifact: >-
66-
${{ fromJSON((inputs.build_jax && '["jax"]') || '[]') }} +
67-
${{ fromJSON((inputs.build_jaxlib && '["jaxlib"]') || '[]') }} +
68-
${{ fromJSON((inputs.build_jax_cuda_pjrt && '["jax-cuda-pjrt"]') || '[]') }} +
69-
${{ fromJSON((inputs.build_jax_cuda_plugin && '["jax-cuda-plugin"]') || '[]') }}
66+
${{ fromJSON(
67+
inputs.build_jax && inputs.build_jaxlib && inputs.build_jax_cuda_pjrt && inputs.build_jax_cuda_plugin && '["jax", "jaxlib", "jax-cuda-pjrt", "jax-cuda-plugin"]' ||
68+
inputs.build_jax && inputs.build_jaxlib && inputs.build_jax_cuda_pjrt && '["jax", "jaxlib", "jax-cuda-pjrt"]' ||
69+
inputs.build_jax && inputs.build_jaxlib && '["jax", "jaxlib"]' ||
70+
inputs.build_jax && '["jax"]' ||
71+
'[]'
72+
) }}
7073
python: ["3.10"] #, "3.11", "3.12"]
7174
# jax-cuda-pjrt and jax are pure Python packages so they do not need to be built for each
7275
# Python version.

0 commit comments

Comments
 (0)