Skip to content

Commit

Permalink
CI: add step to upload wheels to wxpython.org
Browse files Browse the repository at this point in the history
  • Loading branch information
swt2c committed Sep 7, 2024
1 parent 77a0b51 commit 4d182e7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,25 @@ jobs:
run: |
gh release upload '${{ github.ref_name }}' dist/* \
--repo '${{ github.repository }}'
upload-wheels-to-snapshot-builds:
name: Upload wheels to snapshot-builds on wxpython.org
if: github.event_name == 'push'
needs: build-wheels
runs-on: ubuntu-22.04

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
path: dist/
merge-multiple: true
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.RIOBU_SSH_KEY }}
known_hosts: ${{ secrets.RIOBU_KNOWN_HOSTS }}
- name: SCP wheels
run: |
scp -p dist/* [email protected]:snapshot-builds/

0 comments on commit 4d182e7

Please sign in to comment.