From b5219f40c103c283b6ced6fe6a2aff64c51c7637 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Thu, 16 May 2024 21:38:40 +0600 Subject: [PATCH 1/2] Update android.yml (#478) --- .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 fb4a952a7052fde4f237f41370b87120ea3e1cdf Mon Sep 17 00:00:00 2001 From: Muzahidul Islam <129880873+muzahidul-opti@users.noreply.github.com> Date: Thu, 16 May 2024 21:54:17 +0600 Subject: [PATCH 2/2] Revert "Update android.yml (#478)" (#480) This reverts commit b5219f40c103c283b6ced6fe6a2aff64c51c7637. --- .github/workflows/android.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 7e59f70f..5d0cc830 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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: |