From 58c5a633e2bbb97fa325697d81d70c1b176cdf3f Mon Sep 17 00:00:00 2001 From: Nugine Date: Thu, 10 Jul 2025 23:50:26 +0800 Subject: [PATCH] ci: fix cache (#165) --- .github/actions/setup/action.yml | 12 ------------ .github/workflows/ci.yml | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index bf75b354..2e1d8d17 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -60,15 +60,7 @@ runs: pkg-config \ libssl-dev - - name: Cache protoc binary - id: cache-protoc - uses: actions/cache@v4 - with: - path: ~/.local/bin/protoc - key: protoc-31.1-${{ runner.os }}-${{ runner.arch }} - - name: Install protoc - if: steps.cache-protoc.outputs.cache-hit != 'true' uses: arduino/setup-protoc@v3 with: version: "31.1" @@ -104,7 +96,3 @@ runs: cache-on-failure: true shared-key: ${{ inputs.cache-shared-key }} save-if: ${{ inputs.cache-save-if }} - # Cache workspace dependencies - workspaces: | - . -> target - cli/rustfs-gui -> cli/rustfs-gui/target diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d75584d..85fc3a47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: cancel_others: true paths_ignore: '["*.md", "docs/**", "deploy/**"]' # Never skip release events and tag pushes - do_not_skip: '["release", "push"]' + do_not_skip: '["workflow_dispatch", "schedule", "merge_group", "release", "push"]' test-and-lint: name: Test and Lint