Try again

This commit is contained in:
Armen Zambrano G 2021-09-09 10:09:17 -04:00
parent 2c9c31b49a
commit 81764681a0

View File

@ -150,7 +150,6 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_AUTO_UPDATE: 1
run: | run: |
brew services start postgresql brew services start postgresql
mkdir repaired_wheels
# This builds all possible Python versions (currently, 3.8 to 3.10) # This builds all possible Python versions (currently, 3.8 to 3.10)
- uses: pypa/cibuildwheel@v2.1.1 - uses: pypa/cibuildwheel@v2.1.1
@ -159,18 +158,17 @@ jobs:
CIBW_ARCHS: arm64 CIBW_ARCHS: arm64
# This changes the default in order to place the wheel in "repaired_wheels" # This changes the default in order to place the wheel in "repaired_wheels"
# The -w argument requires an absolute path # The -w argument requires an absolute path
CIBW_REPAIR_WHEEL_COMMAND: "delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w ${{ github.workspace}}/repaired_wheels {wheel}" # CIBW_REPAIR_WHEEL_COMMAND: "delocate-listdeps {wheel} && delocate-wheel --require-archs {delocate_archs} -w ${{ github.workspace}}/repaired_wheels {wheel}"
# This allows substitution within setup.py # This allows substitution within setup.py
PACKAGE_NAME: psycopg2-binary PACKAGE_NAME: psycopg2-binary
- run: | - run: |
ls -l ls -l
ls -l dist ls -l dist
ls -l repaired_wheels ls -l wheelhouse
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: packages_macos_arm64 name: packages_macos_arm64
path: | path: ./wheelhouse/*.whl
repaired_wheels/*.whl