Skip to content

Commit f91c26f

Browse files
committed
ci: fix the RPM package error
1 parent 290015f commit f91c26f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/autoBuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
if: matrix.target == 'x86_64-unknown-linux-gnu'
101101
run: |
102102
cargo generate-rpm --target ${{ matrix.target }}
103-
cp target/${{ matrix.target }}/generate-rpm/*.rpm ${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-1.x86_64.rpm
103+
find target/${{ matrix.target }}/generate-rpm -name "*.rpm" -exec cp {} ${{ steps.crate_info.outputs.name }}-${{ steps.crate_info.outputs.version }}-1.x86_64.rpm \;
104104
105105
- name: Upload artifacts
106106
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)