From: Josh Owen Date: Fri, 7 Jan 2022 16:50:50 +0000 (-0500) Subject: Action: Support running in a docker container (#2748) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ea4c772746d787a93a0f19ce3cbabfacd8094205?ds=inline Action: Support running in a docker container (#2748) see: https://github.com/actions/runner/issues/716 --- 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)