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.
1 parent 80395e9 commit 071d437Copy full SHA for 071d437
.github/workflows/integration_test.yml
@@ -9,6 +9,8 @@ on:
9
jobs:
10
test:
11
runs-on: ubuntu-latest
12
+ env:
13
+ HEAD_REF: ${{ github.head_ref }}
14
steps:
15
- uses: actions/checkout@v3
16
with:
@@ -20,11 +22,11 @@ jobs:
20
22
- name: set SDK Branch if PR
21
23
if: ${{ github.event_name == 'pull_request' }}
24
run: |
- echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
25
+ echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
26
- name: set SDK Branch if not pull request
27
if: ${{ github.event_name != 'pull_request' }}
28
- echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
29
30
- name: Trigger build
31
env:
32
SDK: agent
0 commit comments