Skip to content

Commit

Permalink
fix: Fix macos wheel version for 310 and also checkout edited go files (
Browse files Browse the repository at this point in the history
#2890)

* Fix

Signed-off-by: Kevin Zhang <[email protected]>

* Fix

Signed-off-by: Kevin Zhang <[email protected]>

* Test

Signed-off-by: Kevin Zhang <[email protected]>

* fix

Signed-off-by: Kevin Zhang <[email protected]>

* Fix

Signed-off-by: Kevin Zhang <[email protected]>
  • Loading branch information
kevjumba authored Jun 29, 2022
1 parent 521488d commit bdf170f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ jobs:
env:
CIBW_BUILD: "cp310-macosx_x86_64"
CIBW_ARCHS: "native"
# Need this environment variable because of this issue: https://github.com/pypa/cibuildwheel/issues/952.
CIBW_ENVIRONMENT: >
_PYTHON_HOST_PLATFORM=macosx-10.15-x86_64
# There's a `git restore` in here because remnant go.mod, go.sum changes from the build mess up the wheel naming.
CIBW_BEFORE_BUILD: |
git status
git restore go.mod go.sum
- uses: actions/upload-artifact@v2
with:
name: wheels
Expand Down

0 comments on commit bdf170f

Please sign in to comment.