@@ -25,16 +25,13 @@ jobs:
2525 exclude :
2626 - os : macos-13
2727 target : musl
28- # skip pypy, https://github.com/pypa/distutils/issues/283
29- # - os: ubuntu-22.04
30- # target: musl
31- # flavor: pypy
32- # - os: macos-13
33- # flavor: pypy
28+ - os : macos-14
29+ target : musl
30+
3431 steps :
3532 - uses : actions/checkout@v5
3633 - name : ccache
37- uses : hendrikmuhs/ccache-action@v1.2.11
34+ uses : hendrikmuhs/ccache-action@v1.2.18
3835 with :
3936 key : ${{ matrix.os }}-${{ matrix.target }}-${{ matrix.flavor }}-python
4037
7976 - name : Build python wheels for ${{ matrix.os }}
8077 uses : pypa/cibuildwheel@v3.1.4
8178 env :
82- # Skip CPython 3.{6, 7, 8}
83- CIBW_SKIP : ${{ env.CIBW_SKIP }} cp36-* cp37-* cp38-*
79+ CIBW_SKIP : ${{ env.CIBW_SKIP }}
8480
8581 # only build native packages
8682 CIBW_ARCHS : native
@@ -127,7 +123,7 @@ jobs:
127123 sudo apt-get update && \
128124 sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev ccache
129125 - name : ccache
130- uses : hendrikmuhs/ccache-action@v1.2.11
126+ uses : hendrikmuhs/ccache-action@v1.2.18
131127 with :
132128 key : ubuntu-sdist-python
133129
@@ -152,6 +148,11 @@ jobs:
152148 needs : [build_wheels, build_sdist]
153149 runs-on : ubuntu-latest
154150 if : github.event_name == 'release'
151+ environment :
152+ name : pypi
153+ url : https://pypi.org/p/keyvi
154+ permissions :
155+ id-token : write
155156 steps :
156157 - uses : actions/download-artifact@v5
157158 with :
@@ -160,5 +161,3 @@ jobs:
160161 path : dist
161162
162163 - uses : pypa/gh-action-pypi-publish@release/v1
163- with :
164- password : ${{ secrets.pypi_password }}
0 commit comments