aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/release-pypi.yml
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2022-02-14 05:37:17 +0700
committerbenadha <benawiadha@gmail.com>2022-02-14 05:37:17 +0700
commit641feec0625cd3361b4ce7ef23791bc508dfbfc6 (patch)
treeb7eb842afaacc2b609c1f36444648e769f0fcfc0 /.github/workflows/release-pypi.yml
parent74521781ccd232ad23a0ab54a25ff94044c71d73 (diff)
downloadepy-641feec0625cd3361b4ce7ef23791bc508dfbfc6.tar.gz
Simplify GA dependencies management
Diffstat (limited to '.github/workflows/release-pypi.yml')
-rw-r--r--.github/workflows/release-pypi.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml
index 3701184..36326e3 100644
--- a/.github/workflows/release-pypi.yml
+++ b/.github/workflows/release-pypi.yml
@@ -1,6 +1,7 @@
name: Upload Tags to PyPI
on:
+ workflow_dispatch:
push:
tags:
- v**
@@ -11,16 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- with:
- python-version: "3.x"
- - uses: abatilo/actions-poetry@v2.0.0
- name: Install dependencies
- run: poetry install --no-root
+ run: |
+ python -m pip install --upgrade pip
+ pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
- poetry run python setup.py sdist bdist_wheel
- poetry run twine upload --skip-existing dist/*
+ python setup.py sdist bdist_wheel
+ twine upload --skip-existing dist/*