File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -54,31 +54,30 @@ runs:
5454 id : system-user-site-packages
5555 shell : bash
5656 run : |
57+ # Get system Python "user site-packages" path.
5758 echo "path=$(python -m site --user-site)" >> $GITHUB_OUTPUT
5859
5960 - name : Install Python
6061 uses : actions/setup-python@v4.5.0
6162 with :
6263 python-version-file : ${{ github.action_path }}/.python-version
6364
64- - name : Install Poetry
65+ - name : Action setup
6566 shell : bash
67+ working-directory : ${{ github.action_path }}
6668 run : |
69+ echo "::group::Action setup"
70+
71+ # Install Poetry.
6772 pipx install \
6873 --python "$(which python)" \
6974 poetry==1.4.0
7075
71- - name : Install Python Dependencies
72- shell : bash
73- working-directory : ${{ github.action_path }}
74- run : |
76+ # Install Python dependencies.
7577 poetry install \
7678 --only main,external
7779
78- - name : Make user-installed Python packages available to platforms
79- shell : bash
80- working-directory : ${{ github.action_path }}
81- run : |
80+ # Make user-installed Python packages available to platforms.
8281 readonly PYTHON_ENVIRONMENT_PATH="$(
8382 poetry env info \
8483 --path
9291 "${{ steps.system-user-site-packages.outputs.path }}" > \
9392 "${VENV_SITE_PACKAGES_PATH}/system-user-site-packages.pth"
9493
94+ # Terminate action setup group
95+ echo "::endgroup::"
96+
9597 - name : Run script
9698 shell : bash
9799 env :
@@ -108,5 +110,6 @@ runs:
108110 INPUT_SKETCHES-REPORT-PATH : ${{ inputs.sketches-report-path }}
109111 working-directory : ${{ github.action_path }}
110112 run : |
113+ # Run action
111114 poetry run \
112115 python compilesketches/compilesketches.py
You can’t perform that action at this time.
0 commit comments