We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb60837 commit 861158cCopy full SHA for 861158c
1 file changed
.github/workflows/publish.yaml
@@ -2,10 +2,8 @@ name: Build and publish to PyPI
2
3
on:
4
push:
5
- branches:
6
- - "chore/poetry2"
7
- # tags:
8
- # - "*"
+ tags:
+ - "*"
9
10
jobs:
11
build:
@@ -44,7 +42,7 @@ jobs:
44
42
name: Publish
45
43
needs: build
46
runs-on: ubuntu-latest
47
- environment: TestPyPI
+ environment: PyPI
48
permissions:
49
# this permission is mandatory for trusted publishing
50
id-token: write
@@ -56,7 +54,5 @@ jobs:
56
54
path: dist
57
55
58
- name: Publish package to PyPI 🙌
59
- # if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
+ if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
60
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e #v1.13.0
61
- with:
62
- repository-url: https://test.pypi.org/legacy/
0 commit comments