File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to Test PyPI
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ ref :
7+ required : true
8+ type : string
9+
10+ jobs :
11+ pypi-test :
12+ runs-on : ubuntu-latest
13+ environment : release
14+ permissions :
15+ id-token : write
16+ steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ ref : ${{ inputs.ref }}
20+
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v5
23+ with :
24+ python-version : " 3.11"
25+
26+ - name : Build
27+ run : uv build
28+
29+ - name : Publish to Test PyPI
30+ uses : pypa/gh-action-pypi-publish@release/v1
31+ with :
32+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -59,52 +59,18 @@ jobs:
5959 # ---------------------------------------------------------------------------
6060 pypi-test :
6161 needs : release
62- runs-on : ubuntu-latest
63- environment : release
64- permissions :
65- id-token : write
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/
62+ uses : ./.github/workflows/release-check.yml
63+ with :
64+ ref : ${{ github.sha }}
8365
8466 # ---------------------------------------------------------------------------
8567 # Publish to PyPI
8668 # ---------------------------------------------------------------------------
8769 pypi :
8870 needs : pypi-test
89- runs-on : ubuntu-latest
90- environment : release
91- permissions :
92- id-token : write
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
71+ uses : ./.github/workflows/release.yml
72+ with :
73+ ref : ${{ github.sha }}
10874
10975 # ---------------------------------------------------------------------------
11076 # Prepare the next release branch (version bump + lock + PR)
Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ ref :
7+ required : true
8+ type : string
9+
10+ jobs :
11+ pypi :
12+ runs-on : ubuntu-latest
13+ environment : release
14+ permissions :
15+ id-token : write
16+ steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ ref : ${{ inputs.ref }}
20+
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v5
23+ with :
24+ python-version : " 3.11"
25+
26+ - name : Build
27+ run : uv build
28+
29+ - name : Publish to PyPI
30+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments