From ea4c772746d787a93a0f19ce3cbabfacd8094205 Mon Sep 17 00:00:00 2001 From: Josh Owen Date: Fri, 7 Jan 2022 11:50:50 -0500 Subject: [PATCH] Action: Support running in a docker container (#2748) see: https://github.com/actions/runner/issues/716 --- CHANGES.md | 4 ++++ action.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8bb96bb..bfecbb7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,6 +24,10 @@ - All upper version bounds on dependencies have been removed (#2718) +### Integrations + +- Update GitHub action to support containerized runs (#2748) + ## 21.12b0 ### _Black_ diff --git a/action.yml b/action.yml index ddf0793..dd2de1b 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: import subprocess; from pathlib import Path; - MAIN_SCRIPT = Path(r'${{ github.action_path }}') / 'action' / 'main.py'; + MAIN_SCRIPT = Path(r'${GITHUB_ACTION_PATH}') / 'action' / 'main.py'; proc = subprocess.run([sys.executable, str(MAIN_SCRIPT)]); sys.exit(proc.returncode) -- 2.39.5