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:
4444 HEAD_REF : ${{ github.head_ref }}
4545 if : ${{ github.event_name == 'pull_request' }}
4646 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
4949 - name : set SDK Branch if not pull request
50+ env :
51+ REF_NAME : ${{github.ref_name}}
5052 if : ${{ github.event_name != 'pull_request' }}
5153 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
5456 - name : Trigger build
5557 env :
5658 SDK : android
You can’t perform that action at this time.
0 commit comments