We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986e615 commit 40880ffCopy full SHA for 40880ff
.github/workflows/integration_test.yml
@@ -23,14 +23,18 @@ jobs:
23
path: 'home/runner/travisci-tools'
24
ref: 'master'
25
- name: set SDK Branch if PR
26
+ env:
27
+ HEAD_REF: ${{ github.head_ref }}
28
if: ${{ github.event_name == 'pull_request' }}
29
run: |
- echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
30
+ echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
31
- name: set SDK Branch if not pull request
32
33
+ REF_NAME: ${{ github.ref_name }}
34
if: ${{ github.event_name != 'pull_request' }}
35
- echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- echo "TRAVIS_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
36
+ echo "SDK_BRANCH=${REF_NAME}" >> $GITHUB_ENV
37
+ echo "TRAVIS_BRANCH=${REF_NAME}" >> $GITHUB_ENV
38
- name: Trigger build
39
env:
40
SDK: python
0 commit comments