File tree Expand file tree Collapse file tree 2 files changed +33
-25
lines changed Expand file tree Collapse file tree 2 files changed +33
-25
lines changed Original file line number Diff line number Diff line change 5353 - name : Tear down docker containers
5454 run : |
5555 docker rm -f rosbridge
56- publish-release :
57- name : build and deploy docs
58- runs-on : ubuntu-latest
59- steps :
60- - uses : actions/checkout@v2
61- - name : Set up Python 3.8
62- uses : actions/setup-python@v2
63- with :
64- python-version : 3.8
65- - name : 🔗 Install dependencies
66- run : |
67- python -m pip install --upgrade pip
68- python -m pip install wheel
69- - name : 💎 Install
70- run : |
71- python -m pip install --no-cache-dir -r requirements-dev.txt
72- - name : 💃 Build release
73- if : success() && startsWith(github.ref, 'refs/tags')
74- run : |
75- python setup.py clean --all sdist bdist_wheel
76- - name : 📦 Publish release to PyPI
77- if : success() && startsWith(github.ref, 'refs/tags')
78- uses : pypa/gh-action-pypi-publish@master
79- with :
80- password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ publish-release :
10+ name : publish release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Set up Python 3.8
15+ uses : actions/setup-python@v2
16+ with :
17+ python-version : 3.8
18+ - name : 🔗 Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ python -m pip install wheel
22+ - name : 💎 Install
23+ run : |
24+ python -m pip install --no-cache-dir -r requirements-dev.txt
25+ - name : 💃 Build release
26+ if : success() && startsWith(github.ref, 'refs/tags')
27+ run : |
28+ python setup.py clean --all sdist bdist_wheel
29+ - name : 📦 Publish release to PyPI
30+ if : success() && startsWith(github.ref, 'refs/tags')
31+ uses : pypa/gh-action-pypi-publish@master
32+ with :
33+ password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments