Skip to content

Commit 861158c

Browse files
committed
Revert CI changes
1 parent eb60837 commit 861158c

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Build and publish to PyPI
22

33
on:
44
push:
5-
branches:
6-
- "chore/poetry2"
7-
# tags:
8-
# - "*"
5+
tags:
6+
- "*"
97

108
jobs:
119
build:
@@ -44,7 +42,7 @@ jobs:
4442
name: Publish
4543
needs: build
4644
runs-on: ubuntu-latest
47-
environment: TestPyPI
45+
environment: PyPI
4846
permissions:
4947
# this permission is mandatory for trusted publishing
5048
id-token: write
@@ -56,7 +54,5 @@ jobs:
5654
path: dist
5755

5856
- name: Publish package to PyPI 🙌
59-
# if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
57+
if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6058
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e #v1.13.0
61-
with:
62-
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)