From 7ec201198ac92ae2874fa0a0c01cbe983c435887 Mon Sep 17 00:00:00 2001 From: gangatp Date: Wed, 24 Jan 2024 20:03:28 +0530 Subject: [PATCH] fixing lib3mf linux export --- .github/workflows/build.yml | 5 ++++- CI/Dockerfile | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca1ead393..96a237c83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,8 +47,11 @@ jobs: id: extract with: image: lib3mf_ubi8:latest - path: lib3mf-repo/build/lib3mf.so.2 + path: out.zip destination: dist + + - run: unzip out.zip + working-directory: ./dist - name: Upload Artifact uses: actions/upload-artifact@v2 diff --git a/CI/Dockerfile b/CI/Dockerfile index 39c470c6c..846332f66 100644 --- a/CI/Dockerfile +++ b/CI/Dockerfile @@ -13,6 +13,7 @@ RUN \ glibc-langpack-en \ tar \ gzip \ + zip \ ${GCCTOOLSET} \ && microdnf clean all @@ -54,6 +55,16 @@ RUN ctest -V . WORKDIR "/../../" +RUN mkdir -p out + +RUN cp ./lib3mf-repo/build/lib3mf.so.2 ./out/ + +RUN cd out && zip -r ../out.zip . + + + + +