Skip to content

Commit

Permalink
fix PyPI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JarryShaw committed Nov 3, 2024
1 parent 107a185 commit a8c06d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,22 @@ jobs:
with:
# password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true
attestations: false

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
attestations: false

- name: Upload package to GitHub Release
uses: softprops/action-gh-release@v1
with:
# allowUpdates: true
files: |
dist/pypcapkit-*.whl
dist/pypcapkit-*.tar.gz
dist/*
tag_name: "v${{ needs.version_check.outputs.PCAPKIT_VERSION }}"
token: "${{ secrets.GITHUB_TOKEN }}"

Expand All @@ -235,7 +236,6 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit a8c06d2

Please sign in to comment.