Composer taking a very long time
See original GitHub issueHi,
I’m assuming my setup is wrong, but my repo is taking around 25 minutes on each push to upload. I’m assuming this is to do with composer?
on: push
name: Publish Website
jobs:
build:
name: Build and deploy API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.1.0
with:
fetch-depth: 2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer
- run: composer install
- name: Deploy website with FTP
uses: SamKirkland/FTP-Deploy-Action@3.1.0
with:
ftp-server: ${{ secrets.FTP_ADDRESS }}
ftp-username: ${{ secrets.FTP_UNAME }}
ftp-password: ${{ secrets.FTP_PWORD }}
local-dir: ./
Couldn’t find any info anywhere.
Thanks, Tom
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why is PHP Composer so slow? - Stack Overflow
It took almost 200 seconds alone, though running it together with other libraries seemed at some times running almost for 12 minutes.
Read more >Composer install or update takes too long · Issue #7101 - GitHub
It's taking forever to install a package. This is the first time am experiencing this. Need to get on with coding!
Read more >Composer Update very very slow (not completing) - Laracasts
Composer update is very slow if you have a lot of dependencies/packages implemented. You should avoid variable versions and think about using a...
Read more >Some tips to help speed up Composer install/update - HorusKol
Keep Composer up to date · Tighten up your project dependencies specifications · Go nuclear · Speed up the download · Get under...
Read more >Troubleshooting - Composer
It means your network is probably so slow that a request took over 300seconds to complete. This is the minimum timeout Composer will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This action is dependent on github version tracking to determine which files to upload. Untracked files are re-uploaded every time because the ftp protocol has no way of diffing two files (newer protocols give you a file hash and then its as simple as comparing hashes).
You have a few options here:
Yep! I forgot about that one 😃