Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update windows build workflow #585

Merged
merged 1 commit into from
May 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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:
Expand All @@ -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