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:
|
include:
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
artifact: karapace-linux-x86_64-gnu
|
artifact: karapace-linux-x86_64-gnu
|
||||||
binary_path: target/x86_64-unknown-linux-gnu/release
|
|
||||||
- target: x86_64-unknown-linux-musl
|
- target: x86_64-unknown-linux-musl
|
||||||
artifact: karapace-linux-x86_64-musl
|
artifact: karapace-linux-x86_64-musl
|
||||||
binary_path: target/x86_64-unknown-linux-musl/release
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact }}
|
name: ${{ matrix.artifact }}
|
||||||
|
path: bin
|
||||||
- name: Verify binary
|
- name: Verify binary
|
||||||
run: |
|
run: |
|
||||||
chmod +x ${{ matrix.binary_path }}/karapace
|
chmod +x bin/karapace
|
||||||
${{ matrix.binary_path }}/karapace --version
|
bin/karapace --version
|
||||||
${{ matrix.binary_path }}/karapace doctor
|
bin/karapace doctor
|
||||||
${{ matrix.binary_path }}/karapace migrate
|
bin/karapace migrate
|
||||||
|
|
||||||
reproducibility-check:
|
reproducibility-check:
|
||||||
name: Reproducibility Check (same-run)
|
name: Reproducibility Check (same-run)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue