File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ jobs:
44
44
HEAD_REF : ${{ github.head_ref }}
45
45
if : ${{ github.event_name == 'pull_request' }}
46
46
run : |
47
- echo "SDK_BRANCH=${{ env. HEAD_REF }} " >> $GITHUB_ENV
48
- echo "TRAVIS_BRANCH=${{ env. HEAD_REF }} " >> $GITHUB_ENV
47
+ echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
48
+ echo "TRAVIS_BRANCH=$HEAD_REF" >> $GITHUB_ENV
49
49
- name : set SDK Branch if not pull request
50
+ env :
51
+ REF_NAME : ${{github.ref_name}}
50
52
if : ${{ github.event_name != 'pull_request' }}
51
53
run : |
52
- echo "SDK_BRANCH=${{ github.ref_name }} " >> $GITHUB_ENV
53
- echo "TRAVIS_BRANCH=${{ github.ref_name }} " >> $GITHUB_ENV
54
+ echo "SDK_BRANCH=$REF_NAME " >> $GITHUB_ENV
55
+ echo "TRAVIS_BRANCH=$REF_NAME " >> $GITHUB_ENV
54
56
- name : Trigger build
55
57
env :
56
58
SDK : android
You can’t perform that action at this time.
0 commit comments