From 66b504dc07e11fdfc9de1f257a81bb1acaf05cdc Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Thu, 19 Mar 2026 23:01:36 +0100 Subject: [PATCH] fix(ci): Ignore tar race condition in publish step The all-architectures tar archive may change during creation due to other files being written. This causes tar to exit with code 1 even though the archive is created successfully. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/build-openwrt-packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-openwrt-packages.yml b/.github/workflows/build-openwrt-packages.yml index f928f80c..c4e3a451 100644 --- a/.github/workflows/build-openwrt-packages.yml +++ b/.github/workflows/build-openwrt-packages.yml @@ -598,8 +598,8 @@ jobs: fi done - # Create all-in-one archive - tar -czf "release/secubox-${VERSION}-all-architectures.tar.gz" -C release . + # Create all-in-one archive (ignore "file changed" warning) + tar -czf "release/secubox-${VERSION}-all-architectures.tar.gz" -C release . || true # Checksums cd release