mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: cache target (#2711)
This commit is contained in:
parent
6a43dd871d
commit
5b59800449
2
.github/workflows/flutter_ci.yaml
vendored
2
.github/workflows/flutter_ci.yaml
vendored
@ -67,6 +67,8 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
prefix-key: ${{ matrix.os }}
|
prefix-key: ${{ matrix.os }}
|
||||||
|
workspaces: |
|
||||||
|
frontend/rust-lib
|
||||||
|
|
||||||
- uses: davidB/rust-cargo-make@v1
|
- uses: davidB/rust-cargo-make@v1
|
||||||
with:
|
with:
|
||||||
|
4
.github/workflows/rust_ci.yaml
vendored
4
.github/workflows/rust_ci.yaml
vendored
@ -56,7 +56,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
prefix-key: ${{ matrix.job.os }}
|
prefix-key: 'ubuntu-latest'
|
||||||
|
workspaces: |
|
||||||
|
frontend/rust-lib
|
||||||
|
|
||||||
- name: Build FlowySDK
|
- name: Build FlowySDK
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
8
.github/workflows/tauri_ci.yaml
vendored
8
.github/workflows/tauri_ci.yaml
vendored
@ -15,8 +15,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# platform: [macos-latest, ubuntu-20.04, windows-latest]
|
# platform: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
platform: [ubuntu-20.04]
|
platform: [ubuntu-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
@ -36,7 +36,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
prefix-key: ${{ matrix.platform }}
|
prefix-key: 'ubuntu-latest'
|
||||||
|
workspaces: |
|
||||||
|
frontend/rust-lib
|
||||||
|
|
||||||
- name: install dependencies (windows only)
|
- name: install dependencies (windows only)
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
|
Loading…
Reference in New Issue
Block a user