Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit 369fc16

Browse files
committed
🎨 Update
1 parent 2c0bf7e commit 369fc16

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
name: Build and publish to PyPI 📦
22
on:
3-
release
3+
push:
4+
tags:
5+
- "v*.*.*"
46

57
jobs:
68
deploy:
79
runs-on: ubuntu-latest
810

911
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-python@v2
12-
- name: Install dependencies
13-
run: |
14-
python -m pip install --upgrade pip
15-
pip install setuptools wheel twine
16-
pip install -r requirements.txt
17-
- name: Build and publish
18-
env:
19-
TWINE_USERNAME: __token__
20-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
21-
run: |
22-
python setup.py sdist bdist_wheel
23-
twine upload dist/*
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install setuptools wheel twine
18+
pip install -r requirements.txt
19+
- name: Build and publish
20+
env:
21+
TWINE_USERNAME: __token__
22+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
23+
run: |
24+
python setup.py sdist bdist_wheel
25+
twine upload dist/*

0 commit comments

Comments
 (0)