update github actions

update github actions

update github actions

update github actions

update github actions

update github actions

update github actions

update github actions

update github actions

update github actions

update github actions
This commit is contained in:
long2ice
2020-06-02 18:28:50 +08:00
committed by long2ice
parent b4366d2427
commit e87f67f1e1
7 changed files with 180 additions and 70 deletions

View File

@@ -8,14 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install poetry
uses: abatilo/actions-poetry@v1.5.0
- uses: actions/setup-python@v2
with:
python_version: 3.8.0
args: install
- name: Build dists
run: |
make build
python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3
- name: Pypi Publish
run: |
make build
make publish

View File

@@ -16,11 +16,10 @@ jobs:
- name: Start MySQL
run: sudo systemctl start mysql.service
- uses: actions/checkout@v2
- name: Install poetry
uses: abatilo/actions-poetry@v1.5.0
- uses: actions/setup-python@v2
with:
python_version: 3.8.0
args: install
python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3
- name: CI
env:
MYSQL_PASS: root