File tree Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
weekly-e2e-check :
9
9
if : github.repository_owner == 'alibabacloud-automation'
10
+ name : ' weekly e2e check'
10
11
runs-on : ubuntu-latest
11
12
permissions : write-all
12
13
steps :
13
14
- name : checkout
14
15
uses : actions/checkout@v3
16
+ - name : set id
17
+ id : set-job-id
18
+ uses : ayachensiyuan/get-action-job-id@v1.6
19
+ env :
20
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ with :
22
+ job-name : ' weekly e2e check'
23
+ - name : Get job id
24
+ run : |
25
+ echo "The current job id is ${{ steps.set-job-id.outputs.jobId }}"
15
26
- name : weekly e2e test
16
27
run : |
17
28
objectPath="github-action/${{github.repository}}/weekly-e2e/Action-${{github.run_number}}-${{github.run_id}}-${{ steps.set-job-id.outputs.jobId }}"
18
29
go run scripts/curl_fc_trigger.go main ${{github.repository}} ${objectPath}
19
30
go run scripts/e2e_check.go ${objectPath}
20
- - name : update test record
21
- run : |
22
- git add TestRecord.md
23
- cd .git
24
- sudo chmod -R a+rwX .
25
- sudo find . -type d -exec chmod g+s '{}' +
26
- - name : Commit & Push changes
27
- uses : actions-js/push@master
28
- with :
29
- github_token : ${{ secrets.GITHUB_TOKEN }}
30
- message : ' Update TestRecord'
31
- branch : main
31
+ # - name: update test record
32
+ # run: |
33
+ # git add TestRecord.md
34
+ # cd .git
35
+ # sudo chmod -R a+rwX .
36
+ # sudo find . -type d -exec chmod g+s '{}' +
37
+ # - name: Commit & Push changes
38
+ # uses: actions-js/push@master
39
+ # with:
40
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
41
+ # message: 'Update TestRecord'
42
+ # branch: main
You can’t perform that action at this time.
0 commit comments