We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f886140 commit 164cac1Copy full SHA for 164cac1
1 file changed
.github/workflows/upload-to-pypi.yml
@@ -4,12 +4,6 @@ on:
4
release:
5
types: [published]
6
7
- push:
8
- branches: [ main ]
9
-
10
- pull_request:
11
12
13
jobs:
14
build:
15
runs-on: ubuntu-latest
@@ -42,11 +36,8 @@ jobs:
42
36
run: |
43
37
poetry build
44
38
45
- - name: tests
46
- run: echo test
47
48
- # - name: Publish distribution to PyPI
49
- # if: startsWith(github.ref, 'refs/tags')
50
- # uses: pypa/gh-action-pypi-publish@release/v1
51
- # with:
52
- # password: ${{ secrets.ORANGETIN_PYPI }}
39
+ - name: Publish distribution to PyPI
40
+ if: startsWith(github.ref, 'refs/tags')
41
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ password: ${{ secrets.ORANGETIN_PYPI }}
0 commit comments