Skip to content

Commit

Permalink
Update run_with_env_secrets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
amdfaa authored Dec 20, 2024
1 parent c8d169d commit 379b577
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/scripts/run_with_env_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ 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":
env_file = f"/tmp/github_env_{ os.environ.get('GITHUB_RUN_ID', '') }"

docker_path = shutil.which("docker")
if not docker_path:
run_cmd_or_die(f"bash { os.environ.get('RUNNER_TEMP', '') }/exec_script")
Expand Down

0 comments on commit 379b577

Please sign in to comment.