File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload to PyPI
2
+ run-name : ${{ github.actor }} is uploading a new release of together python library client to PyPI 🚀
3
+ on : [push]
4
+ jobs :
5
+ Upload-Library-to-PyPI :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : Check out repository code
9
+ uses : actions/checkout
10
+ - name : To build the dist archives into the dist/ directory, first install build
11
+ run : |
12
+ python3 -m pip install --upgrade build
13
+ - name : Then install twine
14
+ run : |
15
+ python3 -m pip install --upgrade twine
16
+ - name : List files in the repository to check you have the .toml file
17
+ run : |
18
+ ls ${{ github.workspace }}
19
+ - name : Use `python3 -m build` to build the dist archives run
20
+ run : |
21
+ python3 -m build
22
+ - name : You will see the `dist/` folder appear in the main directory of your repository
23
+ - name : Use `python3 -m twine upload dist/*` to upload the archives to PyPI.
24
+ run : |
25
+ python3 -m twine upload dist/*
26
+
You can’t perform that action at this time.
0 commit comments