File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 3333 - name : Build package
3434 shell : bash
3535 run : |
36- poetry build
36+ poetry build
37+
38+ - name : Store the distribution packages
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : python-package-distributions
42+ path : dist/
43+
44+ # now we publish the release
45+ publish-to-testpypi :
46+ name : Publish Python distribution to TestPyPI
47+ needs : build
48+ runs-on : ubuntu-22.04
49+
50+ environment :
51+ name : testpypi
52+ url : https://test.pypi.org/p/avstack-core
53+
54+ permissions :
55+ id-token : write # IMPORTANT: mandatory for trusted publishing
56+
57+ steps :
58+ - name : Download all the dists
59+ uses : actions/download-artifact@v4
60+ with :
61+ name : python-package-distributions
62+ path : dist/
63+ - name : Publish distribution 📦 to TestPyPI
64+ uses : pypa/gh-action-pypi-publish@release/v1
65+ with :
66+ repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments