Skip to content

Commit 32f301f

Browse files
committed
Fixed binary connector artifact generation
1 parent 9ea5498 commit 32f301f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/binary-build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ jobs:
1919
- name: Download renamer
2020
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
2121
- name: Build artifacts
22-
run: cargo build --workspace --all-features --verbose --target x86_64-unknown-linux-gnu
22+
run: cargo build --workspace --all-features --verbose
2323
- name: Rename and collect artifacts
2424
id: artifacts
25-
run: echo "::set-output name=artifact::$(sh ./target_rename.sh "x86_64-unknown-linux-gnu" | head -n 1)"
25+
run: |
26+
export F="libmemflow_kvm.x86_64.so"
27+
mv target/release/libmemflow_kvm.so $F
28+
echo "::set-output name=artifact::$F"
2629
- name: Upload build artifacts
2730
uses: softprops/action-gh-release@v1
2831
with:

0 commit comments

Comments
 (0)