Compare commits
1
Commits
v4.1.1
...
patched-2.23.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0459c093f3 |
+13
-6
@@ -24,12 +24,19 @@ branding:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
# Set up the version of Python that supports pyodide
|
||||
- uses: actions/setup-python@v5
|
||||
id: python
|
||||
with:
|
||||
python-version: "3.12"
|
||||
update-environment: false
|
||||
# PATCHED for self-hosted runner (offline): 原 actions/setup-python@v5 需联网校验
|
||||
# versions manifest,内网不可达;直接使用 toolcache 预置的 Python 3.12
|
||||
- id: python
|
||||
run: |
|
||||
for p in /opt/hostedtoolcache/Python/3.12*/x64/bin/python3.12 /usr/bin/python3.12 /usr/bin/python3; do
|
||||
if [ -x "$p" ]; then
|
||||
echo "python-path=$p" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
echo "no usable python found" >&2
|
||||
exit 1
|
||||
shell: bash
|
||||
|
||||
- id: cibw
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user