Skip to content

Commit 7aff9aa

Browse files
authored
Update build.yml
1 parent 2663c2f commit 7aff9aa

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: build
22
on:
33
push:
4-
# Sequence of patterns matched against refs/tags
5-
tags:
6-
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
77
jobs:
88
build:
99
runs-on: Ubuntu-18.04
@@ -36,9 +36,3 @@ jobs:
3636
- name: Build binary wheel and a source tarball
3737
if: ${{ matrix.python-version == '3.6.8' }}
3838
run: python setup.py sdist
39-
- name: Publish a Python distribution to PyPI
40-
if: ${{ matrix.python-version == '3.6.8' }}
41-
uses: pypa/gh-action-pypi-publish@release/v1
42-
with:
43-
user: __token__
44-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)