Skip to content

Commit dc42637

Browse files
Update android.yml
1 parent dd1fbf8 commit dc42637

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/android.yml

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

4242
- name: set SDK Branch if PR
43+
env:
44+
HEAD_REF: ${{ github.head_ref }}
4345
if: ${{ github.event_name == 'pull_request' }}
4446
run: |
45-
echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
46-
echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
47+
echo "SDK_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV
48+
echo "TRAVIS_BRANCH=${{ env.HEAD_REF }}" >> $GITHUB_ENV
4749
- name: set SDK Branch if not pull request
4850
if: ${{ github.event_name != 'pull_request' }}
4951
run: |
@@ -80,7 +82,7 @@ jobs:
8082
strategy:
8183
fail-fast: false
8284
matrix:
83-
api-level: [21, 26, 27, 29]
85+
api-level: [21, 25, 26, 29]
8486
steps:
8587
- name: checkout
8688
uses: actions/checkout@v2

0 commit comments

Comments
 (0)