summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Padilla <jpadilla@webapplicate.com>2023-04-24 21:35:28 -0400
committerGitHub <noreply@github.com>2023-04-24 21:35:28 -0400
commitd8b12421654840418fd25b86553795c0c09ed0a9 (patch)
treef90380af76d45d683cca369ed0129b1e0741528d
parent6d1c3d341af3378653af3653436bd9ff411e5e63 (diff)
downloadpyjwt-d8b12421654840418fd25b86553795c0c09ed0a9.tar.gz
Update pypi-package.yml
-rw-r--r--.github/workflows/pypi-package.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/pypi-package.yml b/.github/workflows/pypi-package.yml
index aeecf97..5d6c6fb 100644
--- a/.github/workflows/pypi-package.yml
+++ b/.github/workflows/pypi-package.yml
@@ -3,10 +3,10 @@ name: Build & maybe upload PyPI package
on:
push:
- branches: [master, main]
+ branches: [master]
tags: ["*"]
pull_request:
- branches: [master, main]
+ branches: [master]
release:
types:
- published
@@ -30,11 +30,11 @@ jobs:
- uses: hynek/build-and-inspect-python-package@v1
- # Upload to Test PyPI on every commit on main.
+ # Upload to Test PyPI on every commit on master.
release-test-pypi:
name: Publish in-dev package to test.pypi.org
environment: release-test-pypi
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: build-package