Skip to content

Commit c4ba14e

Browse files
authored
Merge pull request #25 from yuchen0cc/main
release rpm/deb package
2 parents 9a6ac97 + eb14801 commit c4ba14e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build_wheel.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/upload-artifact@v4
5656
with:
5757
name: dist-${{ strategy.job-index }}
58-
path: dist/oss*.whl
58+
path: dist/oss*
5959

6060
release:
6161
name: "Tagged Release"
@@ -81,4 +81,4 @@ jobs:
8181
repo_token: "${{ secrets.GITHUB_TOKEN }}"
8282
automatic_release_tag: "${{ env.RELEASE_TAG }}"
8383
prerelease: false
84-
files: dist/oss*.whl
84+
files: dist/oss*

.github/workflows/build_wheel/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN export PATH="/opt/python/${PY_ABI_TAG}/bin:$PATH" && \
1818
echo -e "[build_ext]\nlibrary_path=${libconnector}" > setup.cfg && \
1919
cat setup.cfg && \
2020
python3 -u setup.py bdist_wheel && \
21-
auditwheel repair dist/oss*.whl -w repaired_wheel
21+
auditwheel repair dist/oss*.whl -w repaired_wheel && \
22+
find . -type f -name "oss-connector-lib-*" -exec cp {} repaired_wheel/ \;
2223

2324
FROM scratch
24-
COPY --from=builder /libconnector/repaired_wheel/oss*.whl /
25+
COPY --from=builder /libconnector/repaired_wheel/oss* /

0 commit comments

Comments
 (0)