Action: Support running in a docker container (#2748)

see: https://github.com/actions/runner/issues/716
This commit is contained in:
Josh Owen 2022-01-07 11:50:50 -05:00 committed by GitHub
parent 05e1fbf27d
commit ea4c772746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@
- All upper version bounds on dependencies have been removed (#2718) - All upper version bounds on dependencies have been removed (#2718)
### Integrations
- Update GitHub action to support containerized runs (#2748)
## 21.12b0 ## 21.12b0
### _Black_ ### _Black_

View File

@ -38,7 +38,7 @@ runs:
import subprocess; import subprocess;
from pathlib import Path; 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)]); proc = subprocess.run([sys.executable, str(MAIN_SCRIPT)]);
sys.exit(proc.returncode) sys.exit(proc.returncode)