update poetry in github actions

This commit is contained in:
long2ice 2020-11-17 10:35:51 +08:00
parent a1c10ff330
commit c2eb4dc9e3
2 changed files with 4 additions and 4 deletions

View File

@ -11,11 +11,11 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3 - uses: abatilo/actions-poetry@v2.0.0
- name: Build dists - name: Build dists
run: make build run: make build
- name: Pypi Publish - name: Pypi Publish
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@master
with: with:
user: __token__ user: __token__
password: ${{ secrets.pypi_password }} password: ${{ secrets.pypi_password }}

View File

@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3 - uses: abatilo/actions-poetry@v2.0.0
- name: CI - name: CI
env: env:
MYSQL_PASS: root MYSQL_PASS: root
@ -28,4 +28,4 @@ jobs:
POSTGRES_PASS: 123456 POSTGRES_PASS: 123456
POSTGRES_HOST: 127.0.0.1 POSTGRES_HOST: 127.0.0.1
POSTGRES_PORT: 5432 POSTGRES_PORT: 5432
run: make ci run: make ci