From c2c617b5f9de43417b33cc83fd4c51d04b58b4cc Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Sun, 22 Feb 2026 21:15:47 +0100 Subject: [PATCH] fix: smoke test artifact download paths upload-artifact@v4 uses least common ancestor, so files from target//release/ are stored without that prefix. Download to bin/ directory and reference binaries there. --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50de208..8c83fff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -254,20 +254,19 @@ jobs: include: - target: x86_64-unknown-linux-gnu artifact: karapace-linux-x86_64-gnu - binary_path: target/x86_64-unknown-linux-gnu/release - target: x86_64-unknown-linux-musl artifact: karapace-linux-x86_64-musl - binary_path: target/x86_64-unknown-linux-musl/release steps: - uses: actions/download-artifact@v4 with: name: ${{ matrix.artifact }} + path: bin - name: Verify binary run: | - chmod +x ${{ matrix.binary_path }}/karapace - ${{ matrix.binary_path }}/karapace --version - ${{ matrix.binary_path }}/karapace doctor - ${{ matrix.binary_path }}/karapace migrate + chmod +x bin/karapace + bin/karapace --version + bin/karapace doctor + bin/karapace migrate reproducibility-check: name: Reproducibility Check (same-run)