Skip to content

Commit 205cd00

Browse files
committed
enable build cache on ci
1 parent 914bd30 commit 205cd00

File tree

8 files changed

+13
-0
lines changed

8 files changed

+13
-0
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: xmake-io/github-action-setup-xmake@v1
1818
with:
1919
xmake-version: branch@dev
20+
build-cache: true
21+
build-cache-key: 'Android'
2022

2123
- name: Prepare
2224
run: |

.github/workflows/cross_musl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- uses: xmake-io/github-action-setup-xmake@v1
1919
with:
2020
xmake-version: branch@dev
21+
build-cache: true
22+
build-cache-key: ${{ matrix.cross }}
2123

2224
- name: Installation
2325
run: |

.github/workflows/fedora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- uses: xmake-io/github-action-setup-xmake@v1
2525
with:
2626
xmake-version: branch@dev
27+
build-cache: true
2728

2829
- name: Tests
2930
env:

.github/workflows/iphoneos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: xmake-io/github-action-setup-xmake@v1
1818
with:
1919
xmake-version: branch@dev
20+
build-cache: true
21+
build-cache-key: 'iOS'
2022

2123
- name: Tests
2224
run: |

.github/workflows/linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: xmake-io/github-action-setup-xmake@v1
1818
with:
1919
xmake-version: branch@dev
20+
build-cache: true
2021

2122
- name: Tests
2223
run: |

.github/workflows/macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: xmake-io/github-action-setup-xmake@v1
1818
with:
1919
xmake-version: branch@dev
20+
build-cache: true
2021

2122
- name: Tests
2223
run: |

.github/workflows/wasm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: xmake-io/github-action-setup-xmake@v1
1818
with:
1919
xmake-version: branch@dev
20+
build-cache: true
21+
build-cache-key: 'Wasm'
2022

2123
- name: Tests
2224
run: |

.github/workflows/windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
- uses: xmake-io/github-action-setup-xmake@v1
1919
with:
2020
xmake-version: branch@dev
21+
build-cache: true
22+
build-cache-key: ${{ matrix.arch }}
2123

2224
- name: Tests
2325
run: |

0 commit comments

Comments
 (0)