Closed TranceLove closed 2 months ago
PR is ready for review :pray: do let me know if any documentation needs updating.
The failure at assembling modules for storage-sample app is caused by missing credentials required at BuildConfig
, which the values are not supposed to exist at the repo. Anything I can do to work around this?
Hey @adamTrz Any clue what's missing here? It look like the GH Action isn't picking up the local.properties file.
CC - @Nataliagros
> Task :apps:storage-sample:checkDebugDuplicateClasses
/home/runner/work/android-omh-storage/android-omh-storage/apps/storage-sample/build/generated/source/buildConfig/debug/com/openmobilehub/android/storage/sample/BuildConfig.java:12: error: illegal start of expression
> Task :apps:storage-sample:kaptDebugKotlin FAILED
public static final String DROPBOX_CLIENT_ID = ;
^
/home/runner/work/android-omh-storage/android-omh-storage/apps/storage-sample/build/generated/source/buildConfig/debug/com/openmobilehub/android/storage/sample/BuildConfig.java:13: error: illegal start of expression
public static final String GOOGLE_CLIENT_ID = ;
^
/home/runner/work/android-omh-storage/android-omh-storage/apps/storage-sample/build/generated/source/buildConfig/debug/com/openmobilehub/android/storage/sample/BuildConfig.java:14: error: illegal start of expression
public static final String MICROSOFT_CLIENT_ID = ;
^
/home/runner/work/android-omh-storage/android-omh-storage/apps/storage-sample/build/generated/source/buildConfig/debug/com/openmobilehub/android/storage/sample/BuildConfig.java:15: error: illegal start of expression
public static final String MICROSOFT_SIGNATURE_HASH = ;
Hey @adamTrz Any clue what's missing here? It look like the GH Action isn't picking up the local.properties file.
That's strange - all those secrets should be populated during Setup Secrets
GH Action Step
@TranceLove - mind resolving merge conflicts and trying to push changes again so we can trigger a new GH Actions run?
Hey, @TranceLove - thanks for the PR and adjustments. I've noticed that build pipeline is failing and I think I know what's the issue here - you have done a Pull Requests from a fork and doing so you don't have access to our Github Actions Secrets. So that's why android build is failing. Could you please make a new pull request with proposed changes but make it directly from a branch with our repos origin? :)
Yes sure. Along with #88 :pray:
@adamTrz seems I don't have write permission to push my branch here. May you help?
@TranceLove I've granted you write access đź‘Ť
@dzuluaga could you please check repo's / omh GH organization rules so everyone would be able to make contributions?
@adamTrz granting write access to the repo isn’t recommended as it could expose sensitive information like secrets to external contributors. Instead, we should use manual approval with GitHub Environments.
This allows PRs to be reviewed, and after approval, workflows can safely access secrets (e.g., for APK generation). We can set up an environment (e.g., testing) that requires approval from a maintainer before running. More details can be found here.
Would you be able to set this up for the repos? Thanks!
CC - @Nataliagros
Summary
Adds support to get the total file size at specified storage provider.
Checklist: