From 4dbb39b8ee91ae34fd95b3a7e324b9a7c0592523 Mon Sep 17 00:00:00 2001 From: IgorRachkov <89467086+igor04091968@users.noreply.github.com> Date: Sun, 14 Jun 2026 16:28:42 +0300 Subject: [PATCH] ci: limit binary artifact to release outputs --- .github/workflows/rust-binary-build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-binary-build.yml b/.github/workflows/rust-binary-build.yml index 26c765e..7a23872 100644 --- a/.github/workflows/rust-binary-build.yml +++ b/.github/workflows/rust-binary-build.yml @@ -30,9 +30,16 @@ jobs: cargo +1.94.0 clippy --manifest-path adk-rust/Cargo.toml --workspace --all-targets -- -D warnings cargo +1.94.0 build --manifest-path adk-rust/Cargo.toml --workspace --release - - name: Upload release target directory + - name: Upload release binaries artifact uses: actions/upload-artifact@v4 with: - name: awatch-rus-linux-x86_64-release-target - path: adk-rust/target/release/ + name: awatch-rus-linux-x86_64-release-binaries + path: | + adk-rust/target/release/* + !adk-rust/target/release/deps/** + !adk-rust/target/release/build/** + !adk-rust/target/release/examples/** + !adk-rust/target/release/incremental/** + !adk-rust/target/release/*.d if-no-files-found: error + retention-days: 30