diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1da0c49..c6719d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,26 +39,27 @@ jobs: - name: test run: | ls -l dist + ls -l tests - - name: Publish package with Twine # 使用 Twine 发布到 PyPI - run: | - twine upload dist/*.whl dist/*.tar.gz - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} - - - name: Create Release - id: create_release - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - [Auto Release] Update PyWxDump - draft: false - prerelease: false - files: | - dist/*.exe - dist/*.whl \ No newline at end of file +# - name: Publish package with Twine # 使用 Twine 发布到 PyPI +# run: | +# twine upload dist/*.whl dist/*.tar.gz +# env: +# TWINE_USERNAME: __token__ +# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} +# +# - name: Create Release +# id: create_release +# uses: softprops/action-gh-release@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# tag_name: ${{ github.ref }} +# release_name: Release ${{ github.ref }} +# body: | +# [Auto Release] Update PyWxDump +# draft: false +# prerelease: false +# files: | +# dist/*.exe +# dist/*.whl \ No newline at end of file