Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d79be2

Browse files
authored
BLD: Fix uploading wheel when it exists (xorbitsai#658)
1 parent 1433993 commit 4d79be2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-wheel.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,19 @@ jobs:
114114
path: dist
115115

116116
# if is xprobe repo, upload to pypi
117-
- uses: pypa/gh-action-pypi-publish@v1.5.0
117+
- uses: pypa/gh-action-pypi-publish@release/v1
118118
if: github.repository == 'xorbitsai/xorbits'
119119
with:
120120
user: __token__
121121
password: ${{ secrets.PYPI_PASSWORD }}
122122
skip-existing: true
123123

124124
# if is not xprobe repo, upload to test
125-
- uses: pypa/gh-action-pypi-publish@v1.5.0
125+
- uses: pypa/gh-action-pypi-publish@release/v1
126126
if: github.repository != 'xorbitsai/xorbits'
127127
with:
128128
user: __token__
129129
password: ${{ secrets.TEST_PYPI_PASSWORD }}
130130
verbose: true
131-
repository_url: https://test.pypi.org/legacy/
131+
repository-url: https://test.pypi.org/legacy/
132+
skip-existing: true

0 commit comments

Comments
 (0)