Update build.yml
This commit is contained in:
parent
bec684f0b9
commit
ac6b06bf1c
1 changed files with 13 additions and 5 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -2,13 +2,17 @@
|
|||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
|
||||
|
||||
name: build
|
||||
on:
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - 'release/**'
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# release:
|
||||
# types:
|
||||
# - created
|
||||
jobs:
|
||||
# wheel:
|
||||
# runs-on: ${{ matrix.os }}
|
||||
|
@ -57,6 +61,10 @@ jobs:
|
|||
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
||||
linux-wheels:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: [3.7, 3.8, 3.9]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -85,7 +93,7 @@ jobs:
|
|||
- name: Setup python${{ matrix.python }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
python-version: ${{ matrix.python-version }}
|
||||
# - name: Install requires
|
||||
# run: python -m pip install twine
|
||||
# - name: Publishing to pypi
|
||||
|
|
Loading…
Reference in a new issue