Skip to content

Commit 52d5c5b

Browse files
Revert changes
1 parent e7b3d66 commit 52d5c5b

3 files changed

Lines changed: 36 additions & 68 deletions

File tree

.github/workflows/release-check.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/release-on-merge.yml

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff 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)

.github/workflows/release.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)