|
@@ -9,23 +9,22 @@ on:
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
deploy:
|
|
deploy:
|
|
-
|
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
|
|
- - name: Set up Python
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
- with:
|
|
|
|
- python-version: '3.x'
|
|
|
|
- - name: Run image
|
|
|
|
- uses: abatilo/actions-poetry@v2.0.0
|
|
|
|
- with:
|
|
|
|
- poetry-version: '1.1.x'
|
|
|
|
- - name: publish
|
|
|
|
- env:
|
|
|
|
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
|
|
|
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
|
|
- run: |
|
|
|
|
- poetry build
|
|
|
|
- poetry upload
|
|
|
|
|
|
+ - uses: actions/checkout@v2
|
|
|
|
+ - name: Set up Python
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
|
+ with:
|
|
|
|
+ python-version: "3.x"
|
|
|
|
+ - name: Run image
|
|
|
|
+ uses: abatilo/actions-poetry@v2.0.0
|
|
|
|
+ with:
|
|
|
|
+ poetry-version: "1.x"
|
|
|
|
+ - name: publish
|
|
|
|
+ env:
|
|
|
|
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
|
|
|
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
|
|
+ run: |
|
|
|
|
+ poetry build
|
|
|
|
+ poetry upload
|