-
Notifications
You must be signed in to change notification settings - Fork 45
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
Should we have a proper CI in GitHub? #52
Comments
Trying to make it possible and open a PR but I am having this issue at the checkout step: Can you please take a look at this so I can handle the rest. https://github.com/TheKyber/Tubular/actions/runs/8737197493/job/23973640700 I tried the checkout on NewPipe and it worked just fine, so the problem is only in your repo I guess. https://github.com/TheKyber/Tubular/actions/runs/8744060319/job/23996088644 |
Seeing the same locally :( |
@asandikci @thekyber @licaon-kter - could one of you look at the dev branch so far and see the CI/Release workflows I added? I'm relatively new to Github Actions so let me know if I'm missing anything. As for the symlink thing, I work and develop with Windows machines, and the symbolic link for list_stream_card_item.xml was breaking the build on my machine, so I just copied the contents of the linked file. I have no idea how this may effect Git's ability to checkout the source code... Nonetheless I tweaked the workflow scripts to manually checkout the source code and I don't have this symlink problem anymore. |
@polymorphicshade I see that you solved the checkout problem and I am going to copy some of your workflow to mine before opening a PR. The Howerver, I don't understand why are you uploading the release apk in Well, there should be also a step where you create a new release before uploading the apk file to it, and I am happy to help you with that. The workflow that i am trying to make can create the tag and the release automatically by extracting the versionName from Feel free to ask anything altghouh I consider myself a beginner in GitHub Actions. |
You can also remove this commit if you want, because I like to sign the apk in a different step. |
@thekyber my intention was to manually make releases (so I can put in whatever detail I want), and manually attach an APK generated by the Release workflow. I wanted keep the creation of the release separate from the "release" build and sign stuff in the workflow. Is this a bad idea? |
@polymorphicshade I also don't understand why do you want to create the release manually. The only reason I see for you to do this is to write some release notes before publishing everything, but this also can be automated when you keep the release notes in a sepeate file (I don't know how to do this but I will see what I can do about it). |
@thekyber oh I like that a lot better. Good idea 👍 |
@polymorphicshade |
@polymorphicshade https://github.com/marketplace/actions/create-release |
@thekyber if you're already in the middle of figuring this out, go for it. I have very little free time, so you will probably end up with a solution before I do. |
I managed to do it and it was pretty easy, you just have to create This is my test: The PR is ready to be merged. |
I can't even clone
|
|
In the context of F-Droid this will trigger protections https://git-scm.com/docs/git-fsck Why is the repo problematic? Why do we need |
I really don't know, try to delete it before cloning again.
|
fsck is not enabled by default (though IMHO it should be). Try: $ git -c fetch.fsckObjects=true clone https://github.com/polymorphicshade/Tubular.git
Cloning into 'Tubular'...
remote: Enumerating objects: 133599, done.
remote: Counting objects: 100% (4032/4032), done.
remote: Compressing objects: 100% (1342/1342), done.
remote: Total 133599 (delta 2035), reused 3923 (delta 1973), pack-reused 129567
Receiving objects: 100% (133599/133599), 113.33 MiB | 17.54 MiB/s, done.
Resolving deltas: 100% (80785/80785), done.
error: unable to create symlink app/src/main/res/layout-land/list_stream_card_item.xml: File name too long
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
|
Could you please have CI (GitHub Actions) for building/publishing app instead of building it locally and uploading manually. This provides a better security for users. Thanks in advance
The text was updated successfully, but these errors were encountered: