From a79ca427fedc8572f8224cebafcf0861635e5dd9 Mon Sep 17 00:00:00 2001 From: Gene Date: Mon, 21 Jul 2025 16:38:30 +0800 Subject: [PATCH] fix: concurrent jobs writing the same files into the same workspace --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb6eb571..8768663f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,7 +82,7 @@ jobs: mkdir -p dist/localproxy-linux-${ARCH} tar -xvf localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar -C dist/localproxy-linux-${ARCH} - nfpm pkg --packager deb --target debian/ + nfpm pkg --packager deb --target debian/<< parameters.architecture >><< parameters.variant >> - store_artifacts: path: localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - store_artifacts: @@ -91,7 +91,7 @@ jobs: root: . paths: - localproxy-linux-<< parameters.architecture >><< parameters.variant >>.tar.xz - - debian/ + - debian/<< parameters.architecture >><< parameters.variant >> build-mac: macos: @@ -160,14 +160,14 @@ jobs: - run: name: Publish to Package Cloud command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ package_cloud push verdigris/packages/{} @' - unless: condition: << pipeline.git.tag >> steps: - run: name: Publish to Package Cloud (Dry Run) command: | - echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' + echo $distro_versions | tr ' ' '\n' | parallel 'echo "Pushing packages for {}..." && find /tmp/workspace/debian* -type f -name "*.deb" | xargs -I @ echo "package_cloud push verdigris/packages/{} @"' workflows: release: