This commit is contained in:
rustdesk 2024-05-01 16:38:04 +08:00
parent 736b3b93e9
commit 09c9671376

View File

@ -1568,7 +1568,7 @@ jobs:
- name: Patch archlinux PKGBUILD - name: Patch archlinux PKGBUILD
if: matrix.job.extra-build-features == '' && env.UPLOAD_ARTIFACT == 'true' if: matrix.job.extra-build-features == '' && env.UPLOAD_ARTIFACT == 'true'
run: | run: |
sed -i "s/arch=('x86_64')/arch=('${{ matrix.job.arch }}')/g" res/PKGBUILD sed -i "s/x86_64/${{ matrix.job.arch }}/g" res/PKGBUILD
if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then
sed -i "s/linux\/x64/linux\/arm64/g" ./res/PKGBUILD sed -i "s/linux\/x64/linux\/arm64/g" ./res/PKGBUILD
end end