Thanks for the response. I am very new to Continuous Integration. I woul like to post my artifacts to the GitHub. Could you please explain me the parameters in the statement to publish to GitHub.
Publish assets to Github
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME v1.0.$CIRCLE_BUILD_NUM $CIRCLE_ARTIFACTS/ || true
My circle.yml file is
general:
artifacts:
- /home/ubuntu/$PROJECT_NAME/app/build/outputs/apk/
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
ANDROID_NDK_HOME: /usr/local/android-ndk
dependencies:
cache_directories:
- ~/.android
- ~/android
pre:
- if ! $(grep -q “Revision=23.0.2” $ANDROID_HOME/tools/source.properties); then echo y | android update sdk -u -a -t “tools”; fi
- if [ ! -e $ANDROID_HOME/build-tools/23.0.2 ]; then echo y | android update sdk -u -a -t “build-tools-23.0.2”; fi
test:
override:
- ./gradlew dependencies
- ./gradlew assembleRelease