From 063ce3eaef86d3d327c98fb6942e9c90da21811b Mon Sep 17 00:00:00 2001 From: tequ Date: Fri, 28 Nov 2025 14:22:32 +0900 Subject: [PATCH] use cp --- .github/workflows/xahau-ga-nix.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/xahau-ga-nix.yml b/.github/workflows/xahau-ga-nix.yml index af3a5ff4a..e0bd2c203 100644 --- a/.github/workflows/xahau-ga-nix.yml +++ b/.github/workflows/xahau-ga-nix.yml @@ -223,10 +223,8 @@ jobs: mkdir -p /var/cache/apt/archives # copy existing .deb files from apt cache - if [ -d /apt-cache-ro/archives ]; then - # don't overwrite if already exists - rsync -a /apt-cache-ro/archives/ /var/cache/apt/archives/ || true - fi + mkdir -p /var/cache/apt/archives + cp -a /apt-cache-ro/archives/. /var/cache/apt/archives/ - name: Install build dependencies run: |