File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
77 pull_request :
88 branches : [ main ]
9-
109jobs :
1110 build-and-test :
1211 runs-on : ubuntu-latest
@@ -43,11 +42,10 @@ jobs:
4342 ls -l dist/
4443 - name : Upload dist
4544 if : success()
46- uses : actions/upload-artifact@v3
45+ uses : actions/upload-artifact@v4
4746 with :
4847 name : dist
4948 path : dist/
50-
5149 publish :
5250 needs : build-and-test
5351 runs-on : ubuntu-latest
7169 pip install twine
7270 echo "Twine version:"
7371 twine --version
74- - uses : actions/download-artifact@v3
72+ - uses : actions/download-artifact@v4
7573 with :
7674 name : dist
7775 path : dist/
8179 ls -l dist/
8280 - name : Publish distribution to PyPI
8381 env :
84- TWINE_USERNAME : __token__
82+ TWINE_USERNAME : **token**
8583 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
8684 run : |
8785 echo "Checking distribution files..."
You can’t perform that action at this time.
0 commit comments