mirror of
https://github.com/marcoallegretti/karapace.git
synced 2026-03-26 21:43:09 +00:00
fix: smoke test artifact download paths
upload-artifact@v4 uses least common ancestor, so files from target/<target>/release/ are stored without that prefix. Download to bin/ directory and reference binaries there.
This commit is contained in:
parent
a05bb30e9c
commit
c2c617b5f9
1 changed files with 5 additions and 6 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue