Skip to content

Commit fc207f1

Browse files
committed
ci(fix): change pypi publish action
1 parent 5108df2 commit fc207f1

File tree

2 files changed

+7
-24
lines changed

2 files changed

+7
-24
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -111,27 +111,10 @@ jobs:
111111
publish:
112112
needs: release
113113
runs-on: ubuntu-latest
114-
115114
steps:
116-
- name: Checkout code
117-
uses: actions/checkout@v4
118-
119-
- name: Install Poetry
120-
uses: snok/install-poetry@v1
121-
with:
122-
virtualenvs-create: true
123-
virtualenvs-in-project: true
124-
version: 2.0.0
125-
126-
- name: Install dependencies
127-
run: |
128-
poetry install --extras dev --no-interaction
129-
source $VENV
130-
131-
- name: Build
132-
run: poetry build
133-
134-
- name: Publish
135-
env:
136-
POETRY_PYPI_TOKEN_ASYNC_RUTUBE_DOWNLOADER: ${{ secrets.POETRY_PYPI_TOKEN_ASYNC_RUTUBE_DOWNLOADER }}
137-
run: poetry publish
115+
- uses: actions/checkout@v4
116+
- name: Build and publish to pypi
117+
uses: JRubics/poetry-publish@v2.1
118+
with:
119+
pypi_token: ${{ secrets.POETRY_PYPI_TOKEN_ASYNC_RUTUBE_DOWNLOADER }}
120+
python_version: "3.12.9"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "async_rutube_downloader"
3-
version = "1.3.3"
3+
version = "1.3.4"
44
description = "download video from RuTube"
55
authors = [{ name = "Miron Sadykov", email = "MironSadykov@yandex.ru" }]
66
readme = "docs/README.md"

0 commit comments

Comments
 (0)