From 44619c690e0f1c06c8ba39ab6010069a14ec35a1 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Tue, 14 May 2024 22:18:33 +0600 Subject: [PATCH 1/6] Update android.yml --- .github/workflows/android.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 5d0cc830..7e59f70f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -41,9 +41,11 @@ jobs: - name: set SDK Branch if PR if: ${{ github.event_name == 'pull_request' }} + env: + HEAD_REF: ${{ github.head_ref }} run: | - echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV - echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV + echo "SDK_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV + echo "TRAVIS_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV - name: set SDK Branch if not pull request if: ${{ github.event_name != 'pull_request' }} run: | From bf286ab58357e812e5b84cb3a486b066c7cf4f68 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Thu, 16 May 2024 21:40:33 +0600 Subject: [PATCH 2/6] Update README.md From 34119d5ab46fada5bfe27ae1e887b5409e258309 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Thu, 16 May 2024 21:50:02 +0600 Subject: [PATCH 3/6] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` From 4e480ab92f6864ae2878a1612c20cf726096037f Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Fri, 17 May 2024 17:53:59 +0600 Subject: [PATCH 4/6] Update android.yml --- .github/workflows/android.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 7e59f70f..06ef3d96 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: @@ -40,12 +40,12 @@ jobs: ref: 'master' - name: set SDK Branch if PR - if: ${{ github.event_name == 'pull_request' }} - env: + env: HEAD_REF: ${{ github.head_ref }} + if: ${{ github.event_name == 'pull_request' }} run: | - echo "SDK_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV - echo "TRAVIS_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV + echo "SDK_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV + echo "TRAVIS_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV - name: set SDK Branch if not pull request if: ${{ github.event_name != 'pull_request' }} run: | From b36de8ab853d6f46b64707dd9a8a791a37c2a2e5 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Fri, 17 May 2024 17:56:02 +0600 Subject: [PATCH 5/6] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5a149d99..429d4bbd 100644 --- a/README.md +++ b/README.md @@ -152,3 +152,5 @@ License (Public Domain): [https://github.com/noveogroup/android-logger/blob/mast - Ruby - https://github.com/optimizely/ruby-sdk - Swift - https://github.com/optimizely/swift-sdk + + From e0a7677687b75a0f760036cecd3dac52f05f8cfe Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Fri, 17 May 2024 18:08:06 +0600 Subject: [PATCH 6/6] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 429d4bbd..5a149d99 100644 --- a/README.md +++ b/README.md @@ -152,5 +152,3 @@ License (Public Domain): [https://github.com/noveogroup/android-logger/blob/mast - Ruby - https://github.com/optimizely/ruby-sdk - Swift - https://github.com/optimizely/swift-sdk - -