We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 514b457 + 363cb85 commit 0e043cfCopy full SHA for 0e043cf
.github/workflows/integration_test.yml
@@ -19,14 +19,18 @@ jobs:
19
path: 'home/runner/travisci-tools'
20
ref: 'master'
21
- name: set SDK Branch if PR
22
+ env:
23
+ HEAD_REF: ${{ github.head_ref }}
24
if: ${{ github.event_name == 'pull_request' }}
25
run: |
- echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
26
+ echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
27
- name: set SDK Branch if not pull request
28
29
+ REF_NAME: ${{github.ref_name}}
30
if: ${{ github.event_name != 'pull_request' }}
31
- echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- echo "TRAVIS_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
32
+ echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
33
+ echo "TRAVIS_BRANCH=$REF_NAME}" >> $GITHUB_ENV
34
- name: Trigger build
35
env:
36
SDK: php
0 commit comments