We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b6f346 commit b5219f4Copy full SHA for b5219f4
.github/workflows/android.yml
@@ -41,9 +41,11 @@ jobs:
41
42
- name: set SDK Branch if PR
43
if: ${{ github.event_name == 'pull_request' }}
44
+ env:
45
+ HEAD_REF: ${{ github.head_ref }}
46
run: |
- echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
- echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
47
+ echo "SDK_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV
48
+ echo "TRAVIS_BRANCH=${{ HEAD_REF }}" >> $GITHUB_ENV
49
- name: set SDK Branch if not pull request
50
if: ${{ github.event_name != 'pull_request' }}
51
0 commit comments