File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ CODEOWNERS
4
4
LICENSE.md
5
5
6
6
# We need to configure secrets for integration tests.
7
+ .github/workflows/ci.yml
7
8
.github/workflows/semgrep.yml
8
9
9
10
# Files that avoid breaking changes due to renames.
Original file line number Diff line number Diff line change 38
38
39
39
publish :
40
40
needs : [compile, test]
41
- if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
41
+ if : github.event_name == 'release'
42
42
runs-on : ubuntu-latest
43
43
steps :
44
44
- name : Checkout repo
54
54
run : poetry install
55
55
- name : Publish to pypi
56
56
run : |
57
- poetry config repositories.remote https://upload. pypi.org/legacy/
58
- poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
57
+ poetry config pypi-token.pypi $PYPI_TOKEN
58
+ poetry --no-interaction -v publish --build
59
59
env :
60
- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
61
- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
60
+ PYPI_TOKEN : ${{ secrets.MERGE_PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments