File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 types : [published]
88
99jobs :
10- pypi :
11- uses : MAK-Relic-Tool/Workflows/.github/workflows/publish-to-pypi.yml@main
12- secrets :
13- pypi-token : ${{ secrets.PYPI_API_TOKEN }}
10+ pypi-publish :
11+ name : Publish To PyPI
12+
13+ runs-on : ubuntu-latest
14+
15+ permissions :
16+ id-token : write
17+
18+ environment :
19+ name : ${{ 'pypi' }}
20+ url : https://pypi.org/p/${{ 'relic-tool-sga-core`' }}
21+
22+
23+ steps :
24+ - name : Checkout Repo
25+ uses : actions/checkout@v4
26+ with :
27+ repository : ${{ github.repository }}
28+ persist-credentials : false
29+
30+ - name : Setup Python ${{ '3.x' }}
31+ uses : actions/setup-python@v5
32+ with :
33+ python-version : ${{ '3.x' }}
34+
35+ - name : Upgrade Pip
36+ run : |
37+ python -m pip install --upgrade pip
38+
39+ - name : Install Build
40+ run : |
41+ python -m pip install build
42+
43+ - name : Build Repo
44+ run : python -m build ${{ '.' }}
45+
46+ - name : Upload to PyPI
47+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments