Skip to content

Commit fc580c7

Browse files
committed
[CI/CD] minor fix
1 parent 915a6b6 commit fc580c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ jobs:
4545
python -c "import os, sys; sys.path.append(os.path.join(os.getcwd(), 'src')); from _webview_ffi import _be_sure_libraries; _be_sure_libraries()"
4646
4747
- name: Build wheels
48-
run: |
49-
python -m build --wheel
48+
uses: pypa/[email protected]
49+
env:
50+
CIBW_SKIP: "cp36-* cp37-* *-win32 *-manylinux_i686 *-musllinux*" # 跳过旧版本和不需要的平台
51+
CIBW_BEFORE_BUILD_LINUX: "apt-get update && apt-get install -y libwebkit2gtk-4.0-dev"
5052

5153
- uses: actions/upload-artifact@v3
5254
with:

0 commit comments

Comments
 (0)