Skip to content

Commit

Permalink
fix when workflow_dispatch parameters are triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-yankee committed Feb 27, 2025
1 parent f74ce5d commit c170441
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bazel_download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
working-directory: drake_bazel_download
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_tar }})
fi
.github/ubuntu_setup "${args[@]}"
Expand All @@ -30,7 +30,7 @@ jobs:
working-directory: drake_bazel_download
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--drake-override)
fi
.github/ci_build_test "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake_installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
working-directory: drake_cmake_installed
run: |
args=()
if [[ ${{ github.event.inputs.mac_arm_sonoma_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.mac_arm_sonoma_package_tar }})
fi
setup/install_prereqs "${args[@]}"
Expand All @@ -47,7 +47,7 @@ jobs:
working-directory: drake_cmake_installed
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_tar }})
fi
.github/ubuntu_setup "${args[@]}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_installed_apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
working-directory: drake_cmake_installed_apt
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_deb }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_deb }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_deb }})
fi
.github/ubuntu_apt_setup "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
working-directory: drake_pip
run: |
args=(--python-version '3.12')
if [[ ${{ github.event.inputs.mac_arm_sonoma_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.mac_arm_sonoma_wheel }})
fi
setup/setup_env "${args[@]}"
Expand All @@ -51,7 +51,7 @@ jobs:
working-directory: drake_pip
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.linux_jammy_wheel }})
fi
.github/ubuntu_setup "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
.github/setup
args=(--python-version '3.12')
if [[ ${{ github.event.inputs.mac_arm_sonoma_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.mac_arm_sonoma_wheel }})
fi
setup/install_prereqs "${args[@]}"
Expand All @@ -57,7 +57,7 @@ jobs:
.github/setup
source $HOME/.profile
args=()
if [[ ${{ github.event.inputs.linux_jammy_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.linux_jammy_wheel }})
fi
setup/install_prereqs "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions drake_bazel_download/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
working-directory: drake_bazel_download
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_tar }})
fi
.github/ubuntu_setup "${args[@]}"
Expand All @@ -46,7 +46,7 @@ jobs:
working-directory: drake_bazel_download
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--drake-override)
fi
.github/ci_build_test "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions drake_cmake_installed/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
working-directory: drake_cmake_installed
run: |
args=()
if [[ ${{ github.event.inputs.mac_arm_sonoma_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.mac_arm_sonoma_package_tar }})
fi
setup/install_prereqs "${args[@]}"
Expand All @@ -66,7 +66,7 @@ jobs:
working-directory: drake_cmake_installed
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_tar }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_tar }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_tar }})
fi
.github/ubuntu_setup "${args[@]}"
Expand Down
2 changes: 1 addition & 1 deletion drake_cmake_installed_apt/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
working-directory: drake_cmake_installed_apt
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_package_deb }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_package_deb }}' != '' ]]; then
args+=(--package-url ${{ github.event.inputs.linux_jammy_package_deb }})
fi
.github/ubuntu_apt_setup "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions drake_pip/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
working-directory: drake_pip
run: |
args=(--python-version '3.12')
if [[ ${{ github.event.inputs.mac_arm_sonoma_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.mac_arm_sonoma_wheel }})
fi
setup/setup_env "${args[@]}"
Expand All @@ -70,7 +70,7 @@ jobs:
working-directory: drake_pip
run: |
args=()
if [[ ${{ github.event.inputs.linux_jammy_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.linux_jammy_wheel }})
fi
.github/ubuntu_setup "${args[@]}"
Expand Down
4 changes: 2 additions & 2 deletions drake_poetry/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
.github/setup
args=(--python-version '3.12')
if [[ ${{ github.event.inputs.mac_arm_sonoma_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.mac_arm_sonoma_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.mac_arm_sonoma_wheel }})
fi
setup/install_prereqs "${args[@]}"
Expand All @@ -76,7 +76,7 @@ jobs:
.github/setup
source $HOME/.profile
args=()
if [[ ${{ github.event.inputs.linux_jammy_wheel }} != '' ]]; then
if [[ '${{ github.event.inputs.linux_jammy_wheel }}' != '' ]]; then
args+=(--wheel-url ${{ github.event.inputs.linux_jammy_wheel }})
fi
setup/install_prereqs "${args[@]}"
Expand Down

0 comments on commit c170441

Please sign in to comment.