diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 7e59f70f..1b541c2e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,11 +1,11 @@ name: Android CI on: push: - branches: [ master ] + branches: '*' tags: - '*' pull_request: - branches: [ master ] + branches: '*' workflow_dispatch: inputs: SNAPSHOT: @@ -41,11 +41,9 @@ jobs: - name: set SDK Branch if PR if: ${{ github.event_name == 'pull_request' }} - env: - HEAD_REF: ${{ github.head_ref }} run: | - echo "SDK_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV - echo "TRAVIS_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV + echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV + echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV - name: set SDK Branch if not pull request if: ${{ github.event_name != 'pull_request' }} run: | diff --git a/README.md b/README.md index 6dfb015f..5a149d99 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ optimizelyManager.initialize(this, null, (OptimizelyClient optimizely) -> { ## Use the Android SDK -See the Optimizely Feature Experimentation [developer documentation](https://docs.developers.optimizely.com/experimentation/v4.0-full-stack/docs/android-sdk) to learn how to set up your first Android project and use the SDK. +See the Optimizely Feature Experimentation documentation [developer documentation](https://docs.developers.optimizely.com/experimentation/v4.0-full-stack/docs/android-sdk) to learn how to set up your first Android project and use the SDK. ## Architecture @@ -84,7 +84,7 @@ This project includes 5 library modules and a test app. ## SDK Development -### Command Line +### Command Line 1. Clone the repo * `git clone git@github.com:optimizely/android-sdk.git`