File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 36
36
run : |
37
37
pip install --find-links=dist materialyoucolor --no-index
38
38
python tests/test_all.py test_image.jpg 1
39
- - name : Upload artifacts
40
- uses : actions/upload-artifact@v4
41
- with :
42
- name : dist
43
- path : dist
44
- deploy :
45
- name : Publish to PyPI
46
- runs-on : ubuntu-latest
47
- needs : build
48
- steps :
49
- - name : Checkout
50
- uses : actions/checkout@v2
51
- - name : Download artifacts
52
- uses : actions/download-artifact@v4
53
- with :
54
- name : dist
55
- path : dist
56
39
- name : Publish to PyPI
57
40
uses : pypa/gh-action-pypi-publish@v1.5.0
58
41
with :
Original file line number Diff line number Diff line change 40
40
41
41
- name : Publish to PyPI
42
42
uses : pypa/gh-action-pypi-publish@v1.5.0
43
+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
43
44
with :
44
45
user : __token__
45
46
password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments