66 - published
77
88env :
9- LIBZIM_DL_VERSION : " 9.1.0 "
9+ LIBZIM_DL_VERSION : " 9.2.3-2 "
1010 MACOSX_DEPLOYMENT_TARGET : " 12.0"
1111 CIBW_ENVIRONMENT_PASS_LINUX : " LIBZIM_DL_VERSION"
1212 # APPLE_SIGNING_KEYCHAIN_PATH set in prepare keychain step
@@ -22,10 +22,10 @@ jobs:
2222 runs-on : ${{ matrix.os }}
2323 strategy :
2424 matrix :
25- os : [ubuntu-20.04, macos-13] # windows-2019
25+ os : [ubuntu-20.04, macos-13, windows-2022]
2626
2727 steps :
28- - uses : actions/checkout@v3
28+ - uses : actions/checkout@v4
2929
3030 - name : Set up QEMU
3131 if : runner.os == 'Linux'
6868 security unlock-keychain -p mysecretpassword ${APPLE_SIGNING_KEYCHAIN_PATH}
6969
7070 - name : Build wheels
71- uses : pypa/cibuildwheel@v2.16
71+ uses : pypa/cibuildwheel@v2.20
7272
7373 - name : Cleanup Apple Keychain
7474 if : matrix.os == 'macos-13'
@@ -78,36 +78,49 @@ jobs:
7878 security delete-keychain ${APPLE_SIGNING_KEYCHAIN_PATH}
7979 rm -f ${APPLE_SIGNING_KEYCHAIN_PATH}
8080
81- - uses : actions/upload-artifact@v3
81+ - uses : actions/upload-artifact@v4
8282 with :
83+ name : wheels-${{ matrix.os }}
8384 path : ./wheelhouse/*.whl
8485
8586 build_sdist :
8687 name : Build source distribution
8788 runs-on : ubuntu-latest
8889 steps :
89- - uses : actions/checkout@v3
90+ - uses : actions/checkout@v4
9091
9192 - name : Build sdist
9293 run : pipx run build --sdist
9394
94- - uses : actions/upload-artifact@v3
95+ - uses : actions/upload-artifact@v4
9596 with :
97+ name : sdist
9698 path : dist/*.tar.gz
9799
98100 upload_pypi :
99101 needs : [build_wheels, build_sdist]
100102 runs-on : ubuntu-latest
101103 environment : release
102104 steps :
103- - uses : actions/download-artifact@v3
105+ # retrieve all artifacts
106+ - uses : actions/download-artifact@v4
104107 with :
105- # unpacks default artifact into dist/
106- # if `name: artifact` is omitted, the action will create extra parent dir
107- name : artifact
108+ name : sdist
109+ path : dist
110+ - uses : actions/download-artifact@v4
111+ with :
112+ name : wheels-ubuntu-20.04
113+ path : dist
114+ - uses : actions/download-artifact@v4
115+ with :
116+ name : wheels-macos-13
117+ path : dist
118+ - uses : actions/download-artifact@v4
119+ with :
120+ name : wheels-windows-2022
108121 path : dist
109122
110- - uses : pypa/gh-action-pypi-publish@v1.8.10
123+ - uses : pypa/gh-action-pypi-publish@v1.9.0
111124 with :
112125 user : __token__
113126 # password: ${{ secrets.PYPI_TEST_API_TOKEN }}
0 commit comments