File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 deploy :
99 name : Deploy to PyPI
1010 runs-on : ubuntu-latest
11+ permissions :
12+ id-token : write
1113
1214 steps :
13- - uses : actions/checkout@v4
14- - name : Set up Python
15- uses : actions/setup-python@v5
16- with :
17- python-version : ' 3.10'
18- - name : Install dependencies
19- run : |
20- python -m pip install --upgrade pip
21- pip install build twine
22- - name : Build and publish
23- env :
24- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26- run : |
27- python -m build
28- twine upload dist/*
29- - uses : actions/upload-artifact@v4
30- with :
31- name : dist
32- path : |
33- dist/*
15+ - uses : actions/checkout@v4
16+
17+ - name : Set up Python
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ' 3.10'
21+
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install build
26+
27+ - name : Build package
28+ run : python -m build
29+
30+ - name : Publish to PyPI
31+ uses : pypa/gh-action-pypi-publish@release/v1
32+
33+ - uses : actions/upload-artifact@v4
34+ with :
35+ name : dist
36+ path : dist/*
Original file line number Diff line number Diff line change 1- include versioneer.py
2- include bifacial_radiance/_version.py
3- include bifacial_radiance/data/*
1+ include bifacial_radiance/data/*
42include bifacial_radiance/images/*
You can’t perform that action at this time.
0 commit comments