diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b0594cf8..e49c7eb1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: - v* jobs: - pypi: + wheel: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: @@ -28,6 +28,22 @@ jobs: run: python -m cibuildwheel --output-dir wheelhouse - name: Check build result run: ls -lh wheelhouse/ + - uses: actions/upload-artifact@v4 + with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} + path: ./wheelhouse/*.whl + + pypi: + needs: [wheel] + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v4 + with: + pattern: cibw-* + path: wheelhouse/ + merge-multiple: true + - name: Check download result + run: ls -lht wheelhouse/ - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/libmc/__init__.py b/libmc/__init__.py index 69beca7d..4541bc24 100644 --- a/libmc/__init__.py +++ b/libmc/__init__.py @@ -33,8 +33,8 @@ __file__ as _libmc_so_file ) -__VERSION__ = "1.4.10" -__version__ = "1.4.10" +__VERSION__ = "1.4.11" +__version__ = "1.4.11" __author__ = "mckelvin" __email__ = "mckelvin@users.noreply.github.com" __date__ = "Fri Jun 7 06:16:00 2024 +0800" diff --git a/src/version.go b/src/version.go index ca6c8038..16369788 100644 --- a/src/version.go +++ b/src/version.go @@ -1,6 +1,6 @@ package golibmc -const _Version = "1.4.10" +const _Version = "1.4.11" const _Author = "mckelvin" const _Email = "mckelvin@users.noreply.github.com" const _Date = "Fri Jun 7 06:16:00 2024 +0800"