File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 16
16
lint :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
- uses : actions/setup-go@v2
21
21
with :
22
22
go-version : ' 1.13.15'
25
25
unit_test_latest :
26
26
runs-on : ubuntu-latest
27
27
steps :
28
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v3
29
29
- uses : actions/setup-go@v2
30
30
with :
31
31
go-version : ' 1.18'
Original file line number Diff line number Diff line change @@ -26,12 +26,16 @@ jobs:
26
26
if : ${{ github.event_name == 'pull_request' }}
27
27
run : |
28
28
echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
29
- echo "TRAVIS_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
29
+ echo "TRAVIS_BRANCH=${{ github.base_ref }}" >> $GITHUB_ENV
30
+ ## Need to remove
31
+ echo ${{ github.ref_name }}
30
32
- name : set SDK Branch if not pull request
31
33
if : ${{ github.event_name != 'pull_request' }}
32
34
run : |
33
35
echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
34
36
echo "TRAVIS_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
37
+ ## Need to remove
38
+ echo ${{ github.ref_name }}
35
39
- name : Trigger build
36
40
env :
37
41
SDK : go
You can’t perform that action at this time.
0 commit comments