File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 4747 name : cibw-sdist
4848 path : ./dist/*.tar.gz
4949
50- upload_pypi :
50+ upload_testpypi :
5151 needs : [build_wheels, build_sdist]
5252 runs-on : ubuntu-latest
53+ environment : testpypi
54+ permissions :
55+ id-token : write
56+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
57+ steps :
58+ - uses : actions/download-artifact@v4
59+ with :
60+ pattern : cibw-*
61+ path : dist
62+ merge-multiple : true
63+
64+ - name : Publish to TestPyPI
65+ uses : pypa/gh-action-pypi-publish@release/v1
66+ with :
67+ repository-url : https://test.pypi.org/legacy/
68+
69+ upload_pypi :
70+ needs : [upload_testpypi]
71+ runs-on : ubuntu-latest
5372 environment : pypi
5473 permissions :
5574 id-token : write
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " sparsediffpy"
7- version = " 0.1.0 "
7+ version = " 0.1.1 "
88description = " Python bindings for SparseDiffEngine automatic differentiation"
99requires-python = " >=3.11"
1010dependencies = [" numpy >= 2.0.0" ]
You can’t perform that action at this time.
0 commit comments