Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

run: |
twine upload \
--repository-url https://upload.pypi.github.io/UCD-BDLab/BioNeuralNet \
python -m pip install --upgrade pip twine
Copy link

Copilot AI Jul 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Installing pip and twine on every workflow run can slow down CI. Consider using actions/setup-python with a pre-cached environment or leveraging actions/cache to speed up dependency installation.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's actually not a bad suggestion for once.

python -m twine upload \
--repository-url https://api.github.com/orgs/${{ github.repository_owner }}/packages/pypi/upload \
dist/*

- name: Publish to PyPI
Expand Down
Loading