Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Publish manylinux wheels on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Feb 9, 2021
1 parent 7c97e0e commit 1a83240
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/dist.yml
Expand Up @@ -49,7 +49,6 @@ jobs:
if: ${{ matrix.python_version == '3.7' && matrix.os == 'ubuntu-18.04' }}

- uses: actions/upload-artifact@v2
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
with:
name: "dist-${{ matrix.os }}"
path: dist
Expand Down Expand Up @@ -101,26 +100,6 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')

steps:
- uses: actions/download-artifact@v2
with:
name: dist-ubuntu-18.04
path: dist/

- uses: robotpy/github-action-scp@atomic
with:
local: dist
remote: public_html/2021/linux_x86_64
host: narya.tortall.net
username: ${{ secrets.SSH_USER }}
privateKey: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
atomicPut: true

- name: Ping readthedocs
uses: robotpy/build-actions/ping-rtd@v2021
with:
token: ${{ secrets.RTD_TOKEN }}
webhook: ${{ secrets.RTD_WEBHOOK }}

#
# RoboRIO wheel
Expand Down Expand Up @@ -179,6 +158,11 @@ jobs:
name: dist-macos-latest
path: dist/

- uses: actions/download-artifact@v2
with:
name: dist-ubuntu-18.04
path: dist/

- uses: actions/setup-python@v2
with:
python-version: 3.8
Expand All @@ -192,6 +176,12 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}

- name: Ping readthedocs
uses: robotpy/build-actions/ping-rtd@v2021
with:
token: ${{ secrets.RTD_TOKEN }}
webhook: ${{ secrets.RTD_WEBHOOK }}

ping:
runs-on: ubuntu-latest
needs: [publish-rpyrepo, publish-pypi]
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
@@ -1,5 +1,4 @@
# This file is intended for use on readthedocs
--find-links https://www.tortall.net/~robotpy/wheels/2021/linux_x86_64
sphinx
sphinx-rtd-theme
robotpy-sphinx-plugin
Expand Down

0 comments on commit 1a83240

Please sign in to comment.