File tree Expand file tree Collapse file tree 2 files changed +22
-25
lines changed Expand file tree Collapse file tree 2 files changed +22
-25
lines changed Original file line number Diff line number Diff line change @@ -43,32 +43,34 @@ jobs:
4343 deploy :
4444 needs : test
4545 runs-on : ubuntu-latest
46-
46+ permissions :
47+ id-token : write
4748 steps :
48- - uses : actions/checkout@master
49+ - uses : actions/checkout@v4
50+ with :
51+ fetch-tags : true
52+ fetch-depth : 0
4953 - name : Set up Python 3.13
50- uses : actions/setup-python@v1
54+ uses : actions/setup-python@v5
5155 with :
52- python-version : 3.13
53-
56+ python-version : ' 3.12'
57+ cache : pop
58+ cache-dependency-path : |
59+ **/setup.cfg
60+ **/requirements-*.txt
61+ **/pyproject.toml
62+ - name : Install dependencies
63+ run : |
64+ pip install --upgrade setuptools pip
65+ pip install --upgrade .
5466 - name : Install pypa/build
55- run : >-
56- python -m
57- pip install
58- build
59- --user
60- pip install pbr
61-
67+ run : |
68+ python3 -m pip install build pbr --user
6269 - name : Build a binary wheel and a source tarball
63- run : >-
64- python -m
65- build
66- --sdist
67- --wheel
68- --outdir dist/
69-
70+ run : python3 -m build --sdist --wheel --outdir dist/
7071 - name : Publish package to PyPI
71- uses : pypa/gh-action-pypi-publish@master
72+ uses : pypa/gh-action-pypi-publish@release/v1
7273 with :
74+ repository-url : https://upload.pypi.org/legacy/
7375 user : __token__
7476 password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 3131 None ,
3232 "PEO" ,
3333 TEST_DATA / "gen_params" / "ref" / "PEO_10.itp" ),
34- ([TEST_DATA / "gen_params" / "input" / "PS.martini.2.itp" ],
35- None ,
36- TEST_DATA / "gen_params" / "input" / "PS.json" ,
37- "PS" ,
38- TEST_DATA / "gen_params" / "ref" / "PS_10.itp" ),
3934 ([TEST_DATA / "gen_params" / "input" / "P3HT.martini.2.itp" ],
4035 ["P3HT:10" ],
4136 None ,
You can’t perform that action at this time.
0 commit comments