Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Yibo-Chen13 committed Oct 22, 2024
1 parent 8aad2aa commit 914f932
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ jobs:
Write-Output $VERSION
Write-Output "tag_name=$VERSION" >> $env:GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v3
if: ${{ startsWith( matrix.os, 'ubuntu' ) }}
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.21.3
with:
package-dir: .
output-dir: wheelhouse
config-file: pyproject.toml
- name: Release wheels
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: wheelhouse/*.whl
generate_release_notes: true
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
matrix:
use-numpy:
- 0
- 1
python-version:
# - "3.5" ,In this old version, example have a syntax error:E999
- "3.5"
- "3.6"
- "3.7"
- "3.8"
Expand All @@ -32,10 +33,6 @@ jobs:
- "pypy-3.10"
proton-version:
- "latest"
include:
- proton-version: "latest"
python-version: "3.8"
use-numpy: 1

name: ${{ matrix.python-version }} PROTON=${{ matrix.proton-version }} NUMPY=${{ matrix.use-numpy }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion proton_driver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .dbapi import connect


VERSION = (0, 2, 10)
VERSION = (0, 2, 11)
__version__ = '.'.join(str(x) for x in VERSION)

__all__ = ['Client', 'connect']

0 comments on commit 914f932

Please sign in to comment.