-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fixed build uploads #246
Fixed build uploads #246
Conversation
Thanks so much, @rgaudin. I wasn't expecting you to edit PowerShell scripts for me, but I've just tested this branch with the workflow dispatch, and it's working fine building nightly (see below). I'll resolve the conflict and then test a dummy release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent job, thank you!
@rgaudin Can you rebase and merge please? |
I don't know for you, but the repository is huge (almost 3GB) and I can not rebase this branch because somehow the
|
@kelson42 indeed the repo is very large and just pushing my changes was difficult 🙂 |
@kelson42 @rgaudin I recently decided to try building the WikiMed and Wikivoyage apps on GitHub Actions, which involved pushing the ZIM archives (split into 50MB chunks) to their respective branches (this works very well, and the Electron versions of the custom apps build very fast on Actions and "upload" almost instantly to GitHub Releases, avoiding me having to use something like 5-6GB of my own bandwidth twice a month every time I release a new custom app for the multiple different platforms). These chunks are not on master, and shouldn't have affected a PR based on master, depending on the checkout depth I guess. I intend to purge the respective branches before I push a new ZIM, so that I am not keeping a ridiculously large history of irrelevant changes. I understand there is another solution using Large File Storage, which I could look into if Kiwix org has access to that. |
@Jaifroid ZIM files should be downloaded live by the build script, not being in the git. Kiwix Android custom does that way. |
Changes the destination of uploads to master.download.kiwix.org on port 30022 As this service doesn't offer a shell anymore, converted the folder creation and file renamings to more verbose, SFTP-based scripts. ---
I made a few adjustments not directly related to this PR to fix some issues with how/when Electron builder publishes the app versions. Nightly runs should now exit cleanly if there was no error. Due to my experiments there are lots of packages appearing in the 6th April nightly folder, but rest assured that cron jobs will only produce one of each package going forwards. |
Fixed build uploads Former-commit-id: bdbe974
Changes the destination of uploads to master.download.kiwix.org on port 30022
As this service doesn't offer a shell anymore, converted the folder creation
and file renaming to more verbose, SFTP-based scripts.