Hey everyone! I'm new to GitHub Actions and I'm facing some issues. My code runs perfectly fine on my local machine, but when I try to run it on GitHub Actions, it seems to take forever. The project involves scraping data from a public website, processing it with the Ollama model, and then outputting the results to a Google Sheet. On my laptop, it finishes in about 4 minutes, but on GitHub Actions, it can take over 20 minutes and still doesn't complete. I suspect there might be something wrong with the action.yml file. Can someone take a look and help me out? Thanks a lot! Here's the project link: [GitHub Project](https://github.com/longthannga/Requirements_For_Rental_Assistant)
2 Answers
I can relate! When I first set up GitHub Actions, I had to be patient as well. At first, I thought it wasn’t working and stopped my run after 5 minutes, but in later attempts, I let it run and it actually finished! Just to be safe, keep monitoring those logs for any clues on delays.
It seems like you might have gotten it working recently? Just a heads up, the time difference between local and GitHub Actions can be pretty normal due to setup times. It looks like you had one run that took 20 minutes, but another recent run was just 9 minutes of which 2 were setup. It's not unusual to see some delays there. If you keep facing long run times, try adding some logging with timestamps in your main.py. This way, you can pinpoint where the extra time is going.
Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically