File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1+ # https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
2+ # Trusted Publisher stuff: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
3+
14name : Release to PyPi
25
36on :
811 build-n-publish :
912 name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1013 runs-on : ubuntu-latest
14+ environment :
15+ name : pypi
16+ url : https://pypi.org/project/SoftLayer/
17+ permissions :
18+ id-token : write
1119 steps :
1220 - uses : actions/checkout@master
1321 - name : Set up Python 3.11
2836 --wheel
2937 --outdir dist/
3038 .
31- - name : Publish 📦 to Test PyPI
39+ - name : 📦 to PyPI
3240 uses : pypa/gh-action-pypi-publish@release/v1
33- with :
34- user : __token__
35- password : ${{ secrets.CGALLO_PYPI }}
36- repository-url : https://upload.pypi.org/legacy/
3741
Original file line number Diff line number Diff line change 3838 .
3939 - name : Publish 📦 to Test PyPI
4040 uses : pypa/gh-action-pypi-publish@release/v1
41- with :
42- password : ${{ secrets.CGALLO_TEST_PYPI }}
43- repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments