Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
muzahidul-opti authored Aug 19, 2024
1 parent dd1fbf8 commit dc42637
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
ref: 'master'

- name: set SDK Branch if PR
env:
HEAD_REF: ${{ github.head_ref }}
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
echo "TRAVIS_BRANCH=${{ github.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: |
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
api-level: [21, 26, 27, 29]
api-level: [21, 25, 26, 29]
steps:
- name: checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit dc42637

Please sign in to comment.