Skip to content

Commit d8b1242

Browse files
authored
Update pypi-package.yml
1 parent 6d1c3d3 commit d8b1242

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pypi-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Build & maybe upload PyPI package
33

44
on:
55
push:
6-
branches: [master, main]
6+
branches: [master]
77
tags: ["*"]
88
pull_request:
9-
branches: [master, main]
9+
branches: [master]
1010
release:
1111
types:
1212
- published
@@ -30,11 +30,11 @@ jobs:
3030

3131
- uses: hynek/build-and-inspect-python-package@v1
3232

33-
# Upload to Test PyPI on every commit on main.
33+
# Upload to Test PyPI on every commit on master.
3434
release-test-pypi:
3535
name: Publish in-dev package to test.pypi.org
3636
environment: release-test-pypi
37-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
37+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
3838
runs-on: ubuntu-latest
3939
needs: build-package
4040

0 commit comments

Comments
 (0)