Skip to content

Commit ab04103

Browse files
committed
[ci] fix pypi upload
1 parent 810210c commit ab04103

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build_all.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ jobs:
5353
shell: bash
5454
run: |
5555
$GITHUB_WORKSPACE/.github/check-pypi-upload.sh
56-
- name: Debug upload conditions
57-
shell: bash
58-
run: |
59-
echo ${{ github.repository_owner }} ${{ steps.perform_pypi_upload_check.outputs.perform_pypi_upload }} ${{ github.event_name }}
6056
- name: Upload packages to PyPI
6157
uses: pypa/gh-action-pypi-publish@release/v1
62-
if: ${{ github.repository_owner == 'fangq' && steps.perform_pypi_upload_check.outputs.perform_pypi_upload == 1 && github.event_name != 'pull_request'}}
58+
if: ${{ github.actor == 'fangq' && steps.perform_pypi_upload_check.outputs.perform_pypi_upload == 1 && github.event_name != 'pull_request'}}
6359
with:
6460
password: ${{ secrets.PYPI_API_TOKEN }}
6561
verify_metadata: false

0 commit comments

Comments
 (0)