mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
Maybe like this?
This commit is contained in:
parent
8400f011dd
commit
4fe8fb022f
1 changed files with 4 additions and 8 deletions
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
|
@ -10,15 +10,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup Python and Poetry
|
- name: Build and publish the package
|
||||||
uses: abatilo/actions-poetry@v1.5.0
|
uses: abatilo/actions-poetry@v1.5.0
|
||||||
|
env:
|
||||||
|
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
|
||||||
with:
|
with:
|
||||||
python_version: 3.8
|
python_version: 3.8
|
||||||
poetry_version: 1.0
|
poetry_version: 1.0
|
||||||
args: install
|
args: publish --build
|
||||||
- name: Build
|
|
||||||
run: poetry build
|
|
||||||
- name: Publish
|
|
||||||
env:
|
|
||||||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
|
|
||||||
run: poetry publish
|
|
||||||
|
|
Loading…
Reference in a new issue