Skip to content

Commit 6f1995d

Browse files
committed
make workflow calls simpler
1 parent dd464ff commit 6f1995d

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.github/workflows/build_artifacts.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,36 @@ on:
1919
build_jax:
2020
description: "Should the jax artifact be built? (1 to enable, 0 to disable)"
2121
type: string
22-
required: true
23-
default: "1"
22+
required: false
23+
default: "0"
2424
build_jaxlib:
2525
description: "Should the jaxlib artifact be built? (1 to enable, 0 to disable)"
2626
type: string
27-
required: true
28-
default: "1"
27+
required: false
28+
default: "0"
2929
build_jax_cuda_plugin:
3030
description: "Should the jax-cuda-plugin artifact be built? (1 to enable, 0 to disable)"
3131
type: string
32-
required: true
33-
default: "1"
32+
required: false
33+
default: "0"
3434
build_jax_cuda_pjrt:
3535
description: "Should the jax-cuda-pjrt artifact be built? (1 to enable, 0 to disable)"
3636
type: string
37-
required: true
38-
default: "1"
37+
required: false
38+
default: "0"
3939
clone_main_xla:
4040
description: "Should latest XLA be used? (1 to enable, 0 to disable)"
4141
type: string
42-
required: true
42+
required: false
4343
default: "0"
4444
upload_artifacts:
4545
description: "Should the artifacts be uploaded to a GCS bucket?"
46-
required: true
46+
required: false
4747
default: false
4848
type: boolean
4949
upload_destination:
5050
description: "GCS location to where the artifacts should be uploaded"
51-
required: true
51+
required: false
5252
default: '${{ github.workflow }}/${{ github.run_number }}/${{ github.run_attempt }}'
5353
type: string
5454
is_workflow_call:

.github/workflows/pytest_cpu_reuse.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ jobs:
1919
name: "Build the jaxlib aritfact using latest XLA"
2020
uses: ./.github/workflows/build_artifacts.yml
2121
with:
22-
build_jax: 0
2322
build_jaxlib: 1
24-
build_jax_cuda_plugin: 0
25-
build_jax_cuda_pjrt: 0
2623
clone_main_xla: 1
2724
upload_artifacts: true
2825
upload_destination: '${{ github.workflow }}/${{ github.run_number }}/${{ github.run_attempt }}'

0 commit comments

Comments
 (0)