Commit 4551a976 authored by Jason Madden's avatar Jason Madden

Try to fix mac wheel uploads.

parent a4a55361
...@@ -257,12 +257,14 @@ jobs: ...@@ -257,12 +257,14 @@ jobs:
name: gevent-${{ runner.os }}-${{ matrix.python-version }}.whl name: gevent-${{ runner.os }}-${{ matrix.python-version }}.whl
path: dist/*whl path: dist/*whl
- name: Publish package to PyPI (mac) - name: Publish package to PyPI (mac)
uses: pypa/gh-action-pypi-publish@v1.4.1 # We cannot 'uses: pypa/gh-action-pypi-publish@v1.4.1' because
# that's apparently a container action, and those don't run on
# the Mac.
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac')
with: env:
user: __token__ TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
password: ${{ secrets.TWINE_PASSWORD }} run: |
skip_existing: true twine upload --skip-existing dist/*
- name: Install gevent - name: Install gevent
# I'd prefer to install the wheel in non-editable mode, but that seems to # I'd prefer to install the wheel in non-editable mode, but that seems to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment