File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 6060 with :
6161 name : cibw-sdist
6262 path : dist/*.tar.gz
63+
64+ upload_pypi :
65+ needs : [build_wheels, build_sdist]
66+ runs-on : ubuntu-latest
67+ environment : pypi
68+ permissions :
69+ id-token : write
70+ # if: github.event_name == 'release' && github.event.action == 'published'
71+ # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
72+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
73+ steps :
74+ - uses : actions/download-artifact@v5
75+ with :
76+ # unpacks all CIBW artifacts into dist/
77+ pattern : cibw-*
78+ path : dist
79+ merge-multiple : true
80+
81+ - uses : pypa/gh-action-pypi-publish@release/v1
82+ # To test uploads to TestPyPI, uncomment the following:
83+ with :
84+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ cmake.source-dir = "skbuild"
99name = " IsoSpecPy"
1010dependencies = [" cffi" ]
1111description = " IsoSpecPy is a Python library for computing isotopic distributions of molecules."
12- version = " 2.3.0dev6 "
12+ version = " 2.3.0dev7 "
1313license = " BSD-2-Clause"
1414license-files = [" LICENCE" ]
1515authors = [{name = " Michał Startek" }, {name = " Mateusz Łącki" }]
You can’t perform that action at this time.
0 commit comments