File tree 1 file changed +12
-9
lines changed 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -54,31 +54,30 @@ runs:
54
54
id : system-user-site-packages
55
55
shell : bash
56
56
run : |
57
+ # Get system Python "user site-packages" path.
57
58
echo "path=$(python -m site --user-site)" >> $GITHUB_OUTPUT
58
59
59
60
- name : Install Python
60
61
uses : actions/setup-python@v4.5.0
61
62
with :
62
63
python-version-file : ${{ github.action_path }}/.python-version
63
64
64
- - name : Install Poetry
65
+ - name : Action setup
65
66
shell : bash
67
+ working-directory : ${{ github.action_path }}
66
68
run : |
69
+ echo "::group::Action setup"
70
+
71
+ # Install Poetry.
67
72
pipx install \
68
73
--python "$(which python)" \
69
74
poetry==1.4.0
70
75
71
- - name : Install Python Dependencies
72
- shell : bash
73
- working-directory : ${{ github.action_path }}
74
- run : |
76
+ # Install Python dependencies.
75
77
poetry install \
76
78
--only main,external
77
79
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.
82
81
readonly PYTHON_ENVIRONMENT_PATH="$(
83
82
poetry env info \
84
83
--path
92
91
"${{ steps.system-user-site-packages.outputs.path }}" > \
93
92
"${VENV_SITE_PACKAGES_PATH}/system-user-site-packages.pth"
94
93
94
+ # Terminate action setup group
95
+ echo "::endgroup::"
96
+
95
97
- name : Run script
96
98
shell : bash
97
99
env :
@@ -108,5 +110,6 @@ runs:
108
110
INPUT_SKETCHES-REPORT-PATH : ${{ inputs.sketches-report-path }}
109
111
working-directory : ${{ github.action_path }}
110
112
run : |
113
+ # Run action
111
114
poetry run \
112
115
python compilesketches/compilesketches.py
You can’t perform that action at this time.
0 commit comments