File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,15 @@ jobs:
23
23
- name : Get job id
24
24
run : |
25
25
echo "The current job id is ${{ steps.set-job-id.outputs.jobId }}"
26
+ - name : Extract branch name
27
+ shell : bash
28
+ run : echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
29
+ id : extract_branch
26
30
- name : weekly e2e test
27
31
run : |
28
32
objectPath="github-action/${{github.repository}}/weekly-e2e/Action-${{github.run_number}}-${{github.run_id}}-${{ steps.set-job-id.outputs.jobId }}"
29
- go run scripts/curl_fc_trigger.go main ${{github.repository}} ${objectPath}
33
+ echo "default branch: ${{ steps.extract_branch.outputs.branch }}"
34
+ go run scripts/curl_fc_trigger.go ${{ steps.extract_branch.outputs.branch }} ${{github.repository}} ${objectPath}
30
35
go run scripts/e2e_check.go ${objectPath}
31
36
# - name: update test record
32
37
# run: |
You can’t perform that action at this time.
0 commit comments