GitHub has a limit on how large a file can be. I have an open source GitHub project that has a several 120mb files that will be required for unit testing... How do I store these files so that AppVeyor and other developers can access these files?
GitHub limits the size of files allowed in repositories. If you attempt to add or update a file that is larger than 50 MB, you will receive a warning from Git. The changes will still successfully push to your repository, but you can consider removing the commit to minimize performance impact.
Files that you add to a repository via a browser are limited to 25 MB per file. You can add larger files, up to 100 MB each, via the command line. For more information, see "Adding a file to a repository using the command line." To add files larger than 100 MB, you must use Git Large File Storage.
Depending on the kind of volumes actually manipulated, you could consider GitHub LFS (available on GitHub.com)
There are storage limits and bandwidth quota though, which might trigger some billing plans for Git Large File Storage.
Note: issue 784 I mentioned in the comments now (August 12th, 2016) refers (by the OP) to AppVeyor "How to download file", following the comment:
I'm guessing using on of those approaches to download the
git-lfs.exe
would work just fine.I'm not aware of not being able to use
git lfs
in an appveyor itself.
I would imagine all you REALLY need to do is:
- Download the
git-lfs.exe
file and unzip (I'm guessing something like this would help with that, I'm not a powershell genius)- Put
git-lfs.exe
in your path (dealers choice on how)- Run
git lfs install
.And then you can use
git lfs
to do everything you need (git clone
,git fetch
, etc...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With