👷 修复 pypi ci 文件错误

This commit is contained in:
xtaodada 2020-08-11 22:15:47 +08:00
parent 0ccf5afd90
commit fe55224b23
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -2,25 +2,25 @@ name: Upload Python Package
on:
# 当master分支有push时触发action
push:
branches:
- master
#push:
#branches:
#- master
# 当一个pr被合并到master时触发action
pull_request:
branches:
- master
#pull_request:
#branches:
#- master
# 当发布时触发action
#release:
# types: [created]
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]
python-version: ["3.6"]
steps:
# 此步骤使用 GitHub 的 https://github.com/actions/checkout
- uses: actions/checkout@v2
@ -31,6 +31,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# 安装依赖
- name: Install dependencies
run: |