Skip to content

Commit 70db726

Browse files
Update android.yml
1 parent 7e7ced0 commit 70db726

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ jobs:
4040
ref: 'master'
4141

4242
- name: set SDK Branch if PR
43-
env:
44-
HEAD_REF: ${{ github.head_ref }}
4543
if: ${{ github.event_name == 'pull_request' }}
4644
run: |
47-
echo "SDK_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV
48-
echo "TRAVIS_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV
45+
echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
46+
echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
4947
- name: set SDK Branch if not pull request
5048
if: ${{ github.event_name != 'pull_request' }}
5149
run: |

0 commit comments

Comments
 (0)