Skip to content

Commit

Permalink
Test Linux wheel building workflow on PRs touching workflow's files.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Sep 20, 2021
1 parent 08d7e5b commit f61e082
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy-wheels-linux.yml
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/deploy-wheels-linux.yml"
- "scripts/build-manylinux-wheels.sh"
release:
types:
- published
Expand Down Expand Up @@ -75,7 +79,9 @@ jobs:
run: twine upload --skip-existing dist/*.whl

- name: Publish package to TestPyPI
if: github.repository == 'ultrajson/ultrajson'
if: |
github.repository == 'ultrajson/ultrajson' &&
github.ref == 'refs/heads/main'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.test_pypi_password }}
Expand Down

0 comments on commit f61e082

Please sign in to comment.