Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action.yml to cache pip dependencies #87

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 8, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancements to Python setup and dependency management in the GitHub Action workflow.

πŸ“Š Key Changes

  • Added a step to set up Python using actions/setup-python@v5.
    • Configured to use Python version "3.x".
    • Enabled pip dependency caching.
  • Adjusted dependency installation command to improve clarity and remove the no-cache option.
  • Modified the execution method of a Python script to fetch and run it directly using curl.

🎯 Purpose & Impact

  • Improved Efficiency: Caching pip dependencies speeds up the installation process in future runs. ⚑️
  • Clarity and Maintenance: Simplifying the dependency installation command and script execution makes the workflow easier to read and maintain. πŸ› οΈ
  • Enhanced Setup: Ensuring the correct Python environment is set up helps prevent compatibility issues. 🐍

@glenn-jocher glenn-jocher merged commit 39815b3 into main Jun 8, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch June 8, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant