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.
head_ref
1 parent fb4a952 commit 95eb661Copy full SHA for 95eb661
.github/workflows/android.yml
@@ -40,10 +40,12 @@ jobs:
40
ref: 'master'
41
42
- name: set SDK Branch if PR
43
+ env:
44
+ HEAD_REF: ${{ github.head_ref }}
45
if: ${{ github.event_name == 'pull_request' }}
46
run: |
- echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
- 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
49
- name: set SDK Branch if not pull request
50
if: ${{ github.event_name != 'pull_request' }}
51
0 commit comments