mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-14 01:44:04 +08:00
12
.github/workflows/windows.yaml
vendored
12
.github/workflows/windows.yaml
vendored
@ -11,12 +11,12 @@ jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
CONNECTOR_VERSION: "3.3.1"
|
||||
CONNECTOR_VERSION: "3.3.4"
|
||||
steps:
|
||||
|
||||
- name: Cache Connector
|
||||
id: cache-connector
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: c:/mariadb-connector
|
||||
key: mariadb-connector-c-${{ env.CONNECTOR_VERSION }}-win
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
cmake -DCMAKE_INSTALL_PREFIX=c:/mariadb-connector -DCMAKE_INSTALL_COMPONENT=Development -DCMAKE_BUILD_TYPE=Release -P cmake_install.cmake
|
||||
|
||||
- name: Checkout mysqlclient
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: mysqlclient
|
||||
|
||||
@ -58,9 +58,9 @@ jobs:
|
||||
EOF
|
||||
cat site.cfg
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: actions/setup-python@v4
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.7.0
|
||||
run: python -m pip install cibuildwheel==2.12.3
|
||||
- name: Build wheels
|
||||
working-directory: mysqlclient
|
||||
env:
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
run: "python -m cibuildwheel --prerelease-pythons --output-dir dist"
|
||||
|
||||
- name: Upload Wheel
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: win-wheels
|
||||
path: mysqlclient/dist/*.whl
|
||||
|
Reference in New Issue
Block a user