File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -59,22 +59,52 @@ jobs:
5959 # ---------------------------------------------------------------------------
6060 pypi-test :
6161 needs : release
62+ runs-on : ubuntu-latest
63+ environment : release
6264 permissions :
6365 id-token : write
64- uses : ./.github/workflows/release-check.yml
65- with :
66- ref : ${{ github.sha }}
66+ steps :
67+ - uses : actions/checkout@v4
68+ with :
69+ ref : ${{ github.sha }}
70+
71+ - name : Install uv
72+ uses : astral-sh/setup-uv@v5
73+ with :
74+ python-version : " 3.11"
75+
76+ - name : Build
77+ run : uv build
78+
79+ - name : Publish to Test PyPI
80+ uses : pypa/gh-action-pypi-publish@release/v1
81+ with :
82+ repository-url : https://test.pypi.org/legacy/
6783
6884 # ---------------------------------------------------------------------------
6985 # Publish to PyPI
7086 # ---------------------------------------------------------------------------
7187 pypi :
7288 needs : pypi-test
89+ runs-on : ubuntu-latest
90+ environment : release
7391 permissions :
7492 id-token : write
75- uses : ./.github/workflows/release.yml
76- with :
77- ref : ${{ github.sha }}
93+ steps :
94+ - uses : actions/checkout@v4
95+ with :
96+ ref : ${{ github.sha }}
97+
98+ - name : Install uv
99+ uses : astral-sh/setup-uv@v5
100+ with :
101+ python-version : " 3.11"
102+
103+ - name : Build
104+ run : uv build
105+
106+ - name : Publish to PyPI
107+ uses : pypa/gh-action-pypi-publish@release/v1
78108
79109 # ---------------------------------------------------------------------------
80110 # Prepare the next release branch (version bump + lock + PR)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments