Skip to content

Commit

Permalink
Merge pull request #1098 from onekey-sec/fix-release
Browse files Browse the repository at this point in the history
Fix release
  • Loading branch information
qkaiser authored Feb 4, 2025
2 parents 064e1ad + a9ba9b6 commit bdb87c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheel-*
pattern: wheels-*
path: dist
merge-multiple: true

Expand All @@ -453,7 +453,7 @@ jobs:
subject-path: dist/*

- name: Publish to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith(github.ref, 'refs/tags/') }} || (github.event_name == 'workflow_dispatch' && github.event.inputs.test_release)
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.test_release && secrets.TEST_PYPI_API_TOKEN || secrets.POETRY_PYPI_TOKEN_PYPI }}
Expand Down

0 comments on commit bdb87c8

Please sign in to comment.