Skip to content

Commit

Permalink
Resolve problem with building manylinux wheels
Browse files Browse the repository at this point in the history
Due to this issue:

pypa/manylinux#1309

Can likely remove the "pre-build command" once the following is merged
and released in setuptools_scm:

pypa/setuptools_scm#708

Bumping version of actions/checkout may or may not be necessary

Bumping other versions not necessary but why not
  • Loading branch information
chrisjbillington committed Jun 20, 2022
1 parent 846ab1d commit b072352
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Expand Up @@ -60,7 +60,7 @@ jobs:
if: github.repository == 'rpanderson/workflow-sandbox' && (github.event_name != 'create' || github.event.ref_type != 'branch')
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -69,7 +69,7 @@ jobs:
run: git tag -d $(git tag --points-at HEAD)

- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Upload Artifact
if: strategy.job-index == 0 || (env.PURE == 'false' && runner.os != 'Linux')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
setuptools-conda build %CONDA_BUILD_ARGS% --croot ${{ runner.temp }}\cb .
- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: conda_packages
path: ./conda_packages
Expand All @@ -149,7 +149,7 @@ jobs:
steps:
- name: Checkout
if: env.PURE == 'false'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -162,10 +162,11 @@ jobs:
uses: RalfG/python-wheels-manylinux-build@v0.4.2
with:
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
pre-build-command: 'git config --global --add safe.directory "*"'

- name: Upload Artifact
if: env.PURE == 'false'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/*manylinux*.whl
Expand All @@ -177,13 +178,13 @@ jobs:
steps:

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: dist
path: ./dist

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: conda_packages
path: ./conda_packages
Expand Down

0 comments on commit b072352

Please sign in to comment.