File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 77jobs :
88 deploy :
99 runs-on : ubuntu-latest
10+ permissions :
11+ id-token : write
1012 steps :
1113 - uses : actions/checkout@v3
1214 - name : Set up Python
@@ -17,18 +19,15 @@ jobs:
1719 run : |
1820 python --version
1921 python -m pip install --upgrade pip
20- pip install setuptools wheel twine
22+ pip install setuptools wheel build
2123 - name : Test
2224 run : |
2325 pip install .[test]
2426 pytest --runslow ./tests
25- - name : Build and publish
26- env :
27- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
29- run : |
30- python setup.py sdist bdist_wheel
31- twine upload dist/*
27+ - name : Build
28+ run : python -m build
29+ - name : Publish
30+ uses : pypa/gh-action-pypi-publish@release/v1
3231 - name : Send mail
3332 # Notify when cron job fails
3433 if : failure()
4847 to : uw_ihme_simulationscience@uw.edu
4948 # from email name
5049 from : Vivarium Notifications
51-
50+
Original file line number Diff line number Diff line change 1+ **3.1.2 - 01/09/24 **
2+
3+ - Update PyPI to 2FA with trusted publisher (GitHub Actions)
4+
15**3.1.1 - 07/13/23 **
26
37 - Changes version metadata to use setuptools_scm
You can’t perform that action at this time.
0 commit comments