File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish python package to testPyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish-to-testpypi :
9+ name : Publish release to testPyPI
10+ runs-on : ubuntu-latest
11+ environment :
12+ name : testrelease
13+ url : https://test.pypi.org/p/DynamicalComponentsAnalysis/
14+ permissions :
15+ id-token : write
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Python
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : " 3.x"
25+
26+ - name : Install build tools
27+ run : |
28+ python -m pip install --upgrade pip
29+ python -m pip install build
30+
31+ - name : Build package
32+ run : python -m build
33+
34+ - name : Publish package distributions to testPyPI
35+ uses : pypa/gh-action-pypi-publish@release/v1
36+ with :
37+ repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments