File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed
Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 88 - ' *'
99
1010jobs :
11- publishing :
11+ build :
1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest, windows-latest, macos-latest]
4646 find dist/ -type f -iname *.tar.gz -delete
4747 fi
4848 shell : bash
49+ - name : Upload artifacts
50+ if : success()
51+ uses : actions/upload-artifact@v2
52+ with :
53+ name : artifacts
54+ path : dist/
55+
56+
57+ publish :
58+ runs-on : ubuntu-latest
59+ needs : build
60+ steps :
61+ - uses : actions/checkout@v2
62+ - name : Set up Python 3.7
63+ uses : actions/setup-python@v1
64+ with :
65+ python-version : 3.7
66+ - name : Install poetry
67+ run : |
68+ pip install poetry
69+ shell : bash
70+ - name : Clear dist folder
71+ run : |
72+ rm -rf dist/
73+ - name : Download
74+ uses : actions/download-artifact@v2
75+ with :
76+ name : artifacts
77+ path : dist/
4978 - name : Publish to PyPI
5079 if : success()
5180 run : |
You can’t perform that action at this time.
0 commit comments