diff --git a/.github/scripts/run_with_env_secrets.py b/.github/scripts/run_with_env_secrets.py index bdc5867d2f..6046d5d212 100644 --- a/.github/scripts/run_with_env_secrets.py +++ b/.github/scripts/run_with_env_secrets.py @@ -56,7 +56,7 @@ def main(): except KeyError as e: print(f"Could not set {senv} from secret {sname}: {e}") env_file = f"{ os.environ.get('RUNNER_TEMP', '') }/github_env_{ os.environ.get('GITHUB_RUN_ID', '') }" - if f"{ os.environ.get('ROCM'. '') }" == "true": + if f"{ os.environ.get('ROCM', '') }" == "true": env_file = f"/tmp/github_env_{ os.environ.get('GITHUB_RUN_ID', '') }" docker_path = shutil.which("docker") if not docker_path: