Skip to content

Commit 7e41f5c

Browse files
committed
Bumped pypi publish version and skipped py2.7 builds
1 parent a7bbe3a commit 7e41f5c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ jobs:
4141
with:
4242
package-dir: python
4343
env:
44-
CIBW_SKIP: "cp27-* cp36-* cp37-* pp37-* *-musllinux* pp*-macosx*"
44+
CIBW_SKIP: cp36-* cp37-* pp37-* cp38-* pp38-* *-musllinux* pp*-macosx*"
4545
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
4646
CIBW_BEFORE_BUILD_LINUX: "yum update -y && yum install -y libusb-devel"
4747
CIBW_BUILD_VERBOSITY: 3
4848
CIBW_ARCHS_LINUX: "x86_64"
49-
CIBW_ARCHS_MACOS: "x86_64 arm64"
49+
CIBW_ARCHS_MACOS: "universal2"
5050
# Skip trying to test arm64 builds on Intel Macs
51-
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
51+
# Latest MacOS GitHub actions runner is arm64 based
52+
#CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
5253
CMAKE_OSX_ARCHITECTURES: "arm64;x86_64"
5354

5455
- uses: actions/upload-artifact@v4
@@ -133,15 +134,15 @@ jobs:
133134

134135
- name: Production Release
135136
if: startsWith(github.repository, 'MicrochipTech')
136-
uses: pypa/gh-action-pypi-publish@release/v1.10
137+
uses: pypa/gh-action-pypi-publish@release/v1.12.4
137138
with:
138139
user: __token__
139140
password: ${{ secrets.PYPI_API_TOKEN }}
140141
skip_existing: true
141142

142143
- name: Test Release
143144
if: ${{ !startsWith(github.repository, 'MicrochipTech') }}
144-
uses: pypa/gh-action-pypi-publish@release/v1.10
145+
uses: pypa/gh-action-pypi-publish@release/v1.12.4
145146
with:
146147
user: __token__
147148
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)