Skip to content

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Nov 7, 2025

This PR migrates cache.yml to use the new unified setup-lecture-env-full composite action.

Changes

  • Replaces separate setup-lecture-env and setup-latex actions with unified setup-lecture-env-full
  • Simplifies workflow configuration (one action instead of two)
  • Provides optimized caching for both Conda and LaTeX packages

Benefits

  • Conda cache: Saves ~5-6 minutes (full environment)
  • LaTeX apt cache: Saves ~1-2 minutes (download time)
  • Total savings: ~6-8 minutes with both caches hit vs ~12 min fresh

Testing

This PR will rebuild the global caches on main using the new unified action.

Related to PR #4 (ci-migration) which uses the same unified action for CI workflows.

Replaces separate setup-lecture-env and setup-latex actions with the
new unified setup-lecture-env-full action for global cache building.

Benefits:
- Simpler workflow (one action instead of two)
- Optimized caching with separate Conda and apt caches
- Consistent environment setup across all workflows
@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for jade-tarsier-d98a19 ready!

Name Link
🔨 Latest commit 6b8d8b0
🔍 Latest deploy log https://app.netlify.com/projects/jade-tarsier-d98a19/deploys/690d8e30d49a7c00082df220
😎 Deploy Preview https://deploy-preview-6--jade-tarsier-d98a19.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mmcky mmcky merged commit d807744 into main Nov 7, 2025
5 checks passed
@mmcky mmcky deleted the unified-cache-action branch November 7, 2025 06:17
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

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.

2 participants