-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #275 from chdb-io/pipelineCache
GitHub action cleanup
- Loading branch information
Showing
5 changed files
with
3 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,30 +59,9 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Restore submodules cache | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
with: | ||
path: | | ||
contrib/** | ||
!contrib/*-cmake | ||
!**/CMakeLists.txt | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: Update submodules if cache miss | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
- name: Update submodules | ||
run: | | ||
git submodule update --init --recursive --jobs 4 | ||
- name: Save submodules cache | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: | | ||
contrib/** | ||
!contrib/*-cmake | ||
!**/CMakeLists.txt | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,26 +59,9 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Restore submodules cache | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
with: | ||
path: | | ||
contrib/** | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: Update submodules if cache miss | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
- name: Update submodules | ||
run: | | ||
git submodule update --init --recursive --jobs 4 | ||
- name: Save submodules cache | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: | | ||
contrib/** | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,26 +51,9 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Restore submodules cache | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
with: | ||
path: | | ||
contrib/** | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: Update submodules if cache miss | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
- name: Update submodules | ||
run: | | ||
git submodule update --init --recursive --jobs 4 | ||
- name: Save submodules cache | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: | | ||
contrib/** | ||
key: | | ||
submodule-${{ hashFiles('.gitmodules') }} | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters