Skip to content

Commit

Permalink
Action: Support running in a docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
joshowen authored Jan 5, 2022
1 parent 8a84beb commit 1321233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1321233

Please sign in to comment.