Skip to content

Commit 799f409

Browse files
authored
fix upload pypi (#140)
1 parent dba29ce commit 799f409

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- v*
77

88
jobs:
9-
pypi:
9+
wheel:
1010
name: Build wheels on ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
1212
strategy:
@@ -28,6 +28,22 @@ jobs:
2828
run: python -m cibuildwheel --output-dir wheelhouse
2929
- name: Check build result
3030
run: ls -lh wheelhouse/
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
34+
path: ./wheelhouse/*.whl
35+
36+
pypi:
37+
needs: [wheel]
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/download-artifact@v4
41+
with:
42+
pattern: cibw-*
43+
path: wheelhouse/
44+
merge-multiple: true
45+
- name: Check download result
46+
run: ls -lht wheelhouse/
3147
- name: Publish to PyPI
3248
uses: pypa/gh-action-pypi-publish@release/v1
3349
with:

libmc/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
__file__ as _libmc_so_file
3434
)
3535

36-
__VERSION__ = "1.4.10"
37-
__version__ = "1.4.10"
36+
__VERSION__ = "1.4.11"
37+
__version__ = "1.4.11"
3838
__author__ = "mckelvin"
3939
__email__ = "mckelvin@users.noreply.github.com"
4040
__date__ = "Fri Jun 7 06:16:00 2024 +0800"

src/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package golibmc
22

3-
const _Version = "1.4.10"
3+
const _Version = "1.4.11"
44
const _Author = "mckelvin"
55
const _Email = "mckelvin@users.noreply.github.com"
66
const _Date = "Fri Jun 7 06:16:00 2024 +0800"

0 commit comments

Comments
 (0)