mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
improve add cache
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -85,8 +85,19 @@ jobs:
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- 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
|
||||
run: cargo install dioxus-cli
|
||||
run: |
|
||||
if [ ! -f ~/.cargo/bin/dx ]; then
|
||||
cargo install dioxus-cli
|
||||
fi
|
||||
|
||||
- name: Build and Bundle rustfs-gui
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user