Closed rishideepc closed 1 year ago
Hello there!π Welcome to the project!π
Thank you and congratsπ for opening your first pull request β¨. Make sure to adhere to our Contributing Guidelines.π We will get back to you as soon as we can π.
- This path seems specific to your particular configuration of file folders. Will it work on others? def keystorePropertiesFile = rootProject.file("/home/runner/work/RoboTutor_2020/RoboTutor_2020/app/src/sample_config_files/sample_keystore.properties")
- The edit mostly just changed whitespace. Appending ?w=1 to the URL filters them out.
Hello Sir!
The "/home/runner/work/" directory is the default working directory for GitHub Actions workflows during pre-merge checks. The path that I added is an extension of the same. It should work on other machines as well.
- Shouldn't newApkName include a timestamp? Or is it already part of version?
- What does new File("./../../../../../build/", newApkName) assume about the file structure on the machine where the script runs? It seems like an excessively strong assumption liable to break on other machines.
The 'newApkName' holds the default name that is given to the APK that 'build.gradle' generates. Timestamp is included in the 'build-workflow.yml' file, where the built APK is renamed as 'RoboTutor2020-branchName-versionName-timestamp.apk' (I have drawn inspiration from RTFaceLogin, where GitHub Actions was setup in a similar fashion).
It should work on other machines as well, since the 'build.gradle' file stores the generated APK in the mentioned 'build' folder. Once again, the exact same path has also been used in RTFaceLogin's 'build.gradle' file. I have translated the same architecture here.
https://github.com/RoboTutorLLC/RTFace_Login/blob/development/app/build.gradle#L65
Congrats on merging your first pull request! π All the best for your amazing open source journey ahead π.
Configured GitHub actions for RoboTutor_2020
Incorporated commit timestamp to build-workflow.yml, APK name now includes: branch_name, version_name, date_timestamp