mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 00:26:53 +00:00
improve add cache
This commit is contained in:
@@ -85,8 +85,19 @@ jobs:
|
|||||||
# if: startsWith(github.ref, 'refs/tags/')
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Cache dioxus-cli
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cargo/bin/dx
|
||||||
|
key: ${{ runner.os }}-dioxus-cli-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-dioxus-cli-
|
||||||
|
|
||||||
- name: Install dioxus-cli
|
- name: Install dioxus-cli
|
||||||
run: cargo install dioxus-cli
|
run: |
|
||||||
|
if [ ! -f ~/.cargo/bin/dx ]; then
|
||||||
|
cargo install dioxus-cli
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build and Bundle rustfs-gui
|
- name: Build and Bundle rustfs-gui
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user