you doing such a great work mate, seriously i haven't find any android Developers making videos on Devops practices for Android Dev. Please continue it.
Hey Goobar, I love the video and I am very appreciative of the clarity on each step when setting up CI for Android Apps. Please keep up the great content! It's good to see updated content especially for those, such as me, who are new to Android Studio. Unfortunately with my lack of experience, I came across running a problem when testing the workflow we created, and hope I can leave a tip here to help those who may come across the same issue. I am running windows and the problem I had was after running our yml file I would be prompt with the given error, "Run ./gradlew test /home/runner/work/_temp/bf643304-7059-4ca4-9e65-ff716d1a0672.sh: line 1: ./gradlew: Permission denied Error: Process completed with exit code 126." A quick fix to solve this issue that worked for me is implementing this chunk of code right before our "- name: Run Tests" " - name: Make gradlew Executable run: chmod +x ./gradlew"
Just simply awesome, I managed to write build first time on my own. I must say you are just subtle, precise and dams relevant videos so far. Please I insist and a humble request to you make a video on Dagger2 or may be Hilt, I know there are lot of videos but I don't discourage them, they are pretty good, its just like your favorite teacher in school :-). I loved and learnt the way you speak. One word "Prominent".
Very kind words! 😀. Great work setting up your first build 💯 Dagger and/or Hilt (and maybe something like Square's Anvil) are things I've considered covering. I'm not sure if I'll get to them any time soon as they are very complex and I have limited time. But who knows 🙂. It could happen.
10/10 would love to see more actions in relation to android. Like doing some CD on merging maybe doing deployments to testing channels before promoting to release?
You can if it's just a small pet project you dont mean to share with others. But jn larger and more complex ones you will often see people create branches and even fork the repository. Depends on their standards
GitHub Actions is free as far as I know, though you might have limited build time on the free tier For uploading app screenshots, you could use something like Gradle Play Publisher plugin or Fastlane to create gradle tasks that upload your screenshots when run. You can then configure a GitHub Actions Workflow to run that upload task. I'm not sure of any out-of-the-box solution for uploading obb file, but the same tools I mentioned above might do it. If not, you could write your own script to do the upload and run that in one of your build workflows
Check out this discussion in GitHub github.com/actions/starter-workflows/issues/171 The issue might be that your Gradle wrapper permissions need updated
@@goobar I am using macbook. The work flow is created in master brach but my code and gradle is present in other branch .How to point the workflow to other branch ? thats why i am getting gradle is not present .
From using github actions only thing i found kinda irky was with API keys and other secret files, for example with Firebase the google services json, although some sources state that it's fine to share the google services json i'm not comfortable with it. The solution was to store the json data in secrets and make a file during the test and mv to the directory (which itself was confusing lol , why is there a projectName/projectName directory requirement). And the other issue is that even if you use secrets, the keys may pop up on the build output. If you're making opensource projects in my book travis or circle ci's free plans are better.
Interesting, thanks for sharing! I haven't run into issues (that I'm aware of) of GitHub-stored secrets showing up in build output. Did you see something in the workflow file that was printing out secrets in plain text during the build?
@@goobar from what i saw they don't redact any prints to the log even if we made a mistake, travis has option to hide a secret no matter what happens. I think it happens when you don't use a bash env. Sometimes I've had my file contain *** instead of the actual secret too lol. I think it would be fine if one just made all his jobs from scratch but some of the marketplace listings are not compatible with each other.