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
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
|
||||||
|
|
||||||
name: build
|
name: build
|
||||||
on:
|
# on:
|
||||||
# push:
|
# push:
|
||||||
# branches:
|
# branches:
|
||||||
# - 'release/**'
|
# - 'release/**'
|
||||||
release:
|
on:
|
||||||
types:
|
push:
|
||||||
- created
|
branches:
|
||||||
|
- master
|
||||||
|
# release:
|
||||||
|
# types:
|
||||||
|
# - created
|
||||||
jobs:
|
jobs:
|
||||||
# wheel:
|
# wheel:
|
||||||
# runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
|
@ -57,6 +61,10 @@ jobs:
|
||||||
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
||||||
linux-wheels:
|
linux-wheels:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
python-version: [3.7, 3.8, 3.9]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -85,7 +93,7 @@ jobs:
|
||||||
- name: Setup python${{ matrix.python }}
|
- name: Setup python${{ matrix.python }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: ${{ matrix.python-version }}
|
||||||
# - name: Install requires
|
# - name: Install requires
|
||||||
# run: python -m pip install twine
|
# run: python -m pip install twine
|
||||||
# - name: Publishing to pypi
|
# - name: Publishing to pypi
|
||||||
|
|
Loading…
Reference in a new issue