File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed
Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 7777 pip install dist/mecab_python3-${VERSION}-cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}-macosx*.whl
7878 - name : Publish to PyPI if tagged
7979 if : startsWith(github.ref, 'refs/tags')
80- env :
81- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
82- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
83- run : |
84- pip install twine
85- twine upload dist/mecab*whl
80+ uses : pypa/gh-action-pypi-publish@release/v1
8681
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ on: [push]
55jobs :
66 build :
77 runs-on : windows-latest
8+ permissions :
9+ id-token : write
810 strategy :
911 max-parallel : 4
1012 matrix :
6668 pip install "dist/mecab_python3-${VERSION}-cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}-win_amd64.whl"
6769 - name : Publish to PyPI if tagged
6870 if : startsWith(github.ref, 'refs/tags')
69- env :
70- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
71- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
72- run : |
73- python --version
74- pip --version
75- python -m pip install --upgrade pip
76- pip install twine setuptools-scm
77- twine upload dist/mecab*whl
78-
79-
71+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments