SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
ci: skip actions/cache on self-hosted runners (#11986)
Chris Lu384523761bf8
diff --git a/.github/workflows/container_dev.yml b/.github/workflows/container_dev.ymlindex dd8c5843fc..2c30f861a2 100644--- a/.github/workflows/container_dev.yml+++ b/.github/workflows/container_dev.yml@@ -55,6 +55,7 @@ jobs:echo "CFLAGS_aarch64_unknown_linux_musl=-U_FORTIFY_SOURCE" >> "$GITHUB_ENV"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.ymlindex 3d99baaf24..0dc49db29c 100644--- a/.github/workflows/container_latest.yml+++ b/.github/workflows/container_latest.yml@@ -99,6 +99,7 @@ jobs:echo "CFLAGS_aarch64_unknown_linux_musl=-U_FORTIFY_SOURCE" >> "$GITHUB_ENV"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/container_release_unified.yml b/.github/workflows/container_release_unified.ymlindex 095524ce34..6ac4ce06db 100644--- a/.github/workflows/container_release_unified.yml+++ b/.github/workflows/container_release_unified.yml@@ -78,6 +78,7 @@ jobs:echo "CFLAGS_aarch64_unknown_linux_musl=-U_FORTIFY_SOURCE" >> "$GITHUB_ENV"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 8ca45f0067..363627df27 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -53,6 +53,7 @@ jobs:uses: docker/setup-buildx-action@v4- name: Cache Docker layers+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: /tmp/.buildx-cachediff --git a/.github/workflows/performance.yml b/.github/workflows/performance.ymlindex 599c01770c..0d22915b22 100644--- a/.github/workflows/performance.yml+++ b/.github/workflows/performance.yml@@ -183,7 +183,7 @@ jobs:uses: dtolnay/rust-toolchain@stable- name: Cache cargo registry and target- if: matrix.impl == 'rust'+ if: matrix.impl == 'rust' && runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -336,7 +336,7 @@ jobs:uses: dtolnay/rust-toolchain@stable- name: Cache cargo registry and target- if: matrix.impl == 'rust'+ if: matrix.impl == 'rust' && runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.ymlindex ed26b591b9..bbcef063bf 100644--- a/.github/workflows/postgres-tests.yml+++ b/.github/workflows/postgres-tests.yml@@ -57,6 +57,7 @@ jobs:uses: docker/setup-buildx-action@v4- name: Cache Docker layers+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: /tmp/.buildx-cachediff --git a/.github/workflows/rust-volume-server-tests.yml b/.github/workflows/rust-volume-server-tests.ymlindex eb5db5c739..84b80de66d 100644--- a/.github/workflows/rust-volume-server-tests.yml+++ b/.github/workflows/rust-volume-server-tests.yml@@ -76,6 +76,7 @@ jobs:run: echo "fingerprint=$(getconf GNU_LIBC_VERSION | tr ' ' '-')-rustc-$(rustc -V | awk '{print $2}')" >> "$GITHUB_OUTPUT"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -128,6 +129,7 @@ jobs:run: echo "fingerprint=$(getconf GNU_LIBC_VERSION | tr ' ' '-')-rustc-$(rustc -V | awk '{print $2}')" >> "$GITHUB_OUTPUT"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -191,6 +193,7 @@ jobs:run: echo "fingerprint=windows-rustc-$(rustc -V | awk '{print $2}')" >> "$GITHUB_OUTPUT"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/rust-worker-tests.yml b/.github/workflows/rust-worker-tests.ymlindex 66510cf101..7bfaecb695 100644--- a/.github/workflows/rust-worker-tests.yml+++ b/.github/workflows/rust-worker-tests.yml@@ -45,6 +45,7 @@ jobs:run: echo "fingerprint=$(getconf GNU_LIBC_VERSION | tr ' ' '-')-rustc-$(rustc -V | awk '{print $2}')" >> "$GITHUB_OUTPUT"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/rust_binaries_dev.yml b/.github/workflows/rust_binaries_dev.ymlindex 563022d028..e49abdbbd8 100644--- a/.github/workflows/rust_binaries_dev.yml+++ b/.github/workflows/rust_binaries_dev.yml@@ -46,6 +46,7 @@ jobs:uses: dtolnay/rust-toolchain@stable- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -114,6 +115,7 @@ jobs:targets: ${{ matrix.target }}- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/rust_binaries_release.yml b/.github/workflows/rust_binaries_release.ymlindex a5a8b61455..f9446a917a 100644--- a/.github/workflows/rust_binaries_release.yml+++ b/.github/workflows/rust_binaries_release.yml@@ -48,6 +48,7 @@ jobs:echo "OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu" >> "$GITHUB_ENV"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -153,6 +154,7 @@ jobs:echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV"- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -230,6 +232,7 @@ jobs:targets: ${{ matrix.target }}- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |@@ -305,6 +308,7 @@ jobs:uses: dtolnay/rust-toolchain@stable- name: Cache cargo registry and target+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: |diff --git a/.github/workflows/s3-tables-tests.yml b/.github/workflows/s3-tables-tests.ymlindex 64aa3d7fbc..baa50a4cb9 100644--- a/.github/workflows/s3-tables-tests.yml+++ b/.github/workflows/s3-tables-tests.yml@@ -800,6 +800,7 @@ jobs:- name: Restore python:3 image cacheid: python-image+ if: runner.environment == 'github-hosted'uses: actions/cache@v6with:path: /tmp/python3-image.tar