fix build error on centos7 (#1831)

* use ccache-action@v1.2.11
This commit is contained in:
wangyunlai
2024-02-27 16:45:19 +08:00
committed by GitHub
parent 090b72f167
commit f95be378f3
3 changed files with 7 additions and 3 deletions

View File

@ -17,8 +17,10 @@ runs:
bash build.sh init
echo "$GITHUB_WORKSPACE/deps/3rd/usr/local/oceanbase/devtools/bin" >> $GITHUB_PATH
# on centos7, we cannot use the latest `node`.
# ccache-action@v1.2 uses `node20` which cannot works on centos7 but node16 works fun
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@v1.2.11
with:
max-size: 800M
save: ${{inputs.save_cache}}

View File

@ -7,7 +7,8 @@ on:
branches: [ master, develop ]
paths-ignore:
- 'docs/**'
- '.github/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/pull_request_template.md'
- 'README.md'
- 'README_CN.md'
- 'CONTRIBUTING.md'

View File

@ -5,7 +5,8 @@ on:
branches: [ master,develop ]
paths-ignore:
- 'docs/**'
- '.github/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/pull_request_template.md'
- 'README.md'
- 'README_CN.md'
- 'CONTRIBUTING.md'