Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix ci

rustdesk03e93d546a7f
diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.yml
index abb508dd7..d38d21471 100644
--- a/.github/workflows/build-macos-arm64.yml
+++ b/.github/workflows/build-macos-arm64.yml
@@ -31,24 +31,19 @@ env:
SIGN_BASE_URL: "${{ secrets.SIGN_BASE_URL }}"
jobs:
- build-flatpak-appimage:
+ build-appimage:
name: Build Flatpak ${{ matrix.job.target }}
- runs-on: ${{ matrix.job.on }}
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
job:
- {
target: x86_64-unknown-linux-gnu,
- distro: ubuntu18.04,
- on: ubuntu-20.04,
arch: x86_64,
}
- {
target: aarch64-unknown-linux-gnu,
- # try out newer flatpak since error of "error: Nothing matches org.freedesktop.Platform in remote flathub"
- distro: ubuntu22.04,
- on: [self-hosted, Linux, ARM64],
arch: aarch64,
}
steps:
@@ -138,6 +133,37 @@ jobs:
pushd appimage
sudo appimage-builder --skip-tests --recipe ./AppImageBuilder-${{ matrix.job.arch }}.yml
+ build-flatpak:
+ name: Build Flatpak ${{ matrix.job.target }}
+ runs-on: ubuntu-20.04
+ strategy:
+ fail-fast: false
+ matrix:
+ job:
+ - {
+ target: x86_64-unknown-linux-gnu,
+ distro: ubuntu18.04,
+ on: ubuntu-20.04,
+ arch: x86_64,
+ }
+ - {
+ target: aarch64-unknown-linux-gnu,
+ # try out newer flatpak since error of "error: Nothing matches org.freedesktop.Platform in remote flathub"
+ distro: ubuntu22.04,
+ on: [self-hosted, Linux, ARM64],
+ arch: aarch64,
+ }
+ steps:
+ - name: Checkout source code
+ uses: actions/checkout@v3
+
+ - name: Rename Binary
+ run: |
+ apt-get update -y
+ apt-get install -y wget
+ wget https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb
+ mv rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb rustdesk-${{ env.VERSION }}.deb
+
- uses: rustdesk-org/run-on-arch-action@amd64-support
name: Build rustdesk flatpak package for ${{ matrix.job.arch }}
id: rpm
diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml
index ba599e87a..34bdb741c 100644
--- a/.github/workflows/flutter-build.yml
+++ b/.github/workflows/flutter-build.yml
@@ -1389,10 +1389,10 @@ jobs:
files: |
rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}-sciter.deb
- build-flatpak-appimage:
- name: Build Flatpak ${{ matrix.job.target }}
+ build-arch-appimage:
+ name: Build arch/appimage ${{ matrix.job.target }}
needs: [build-rustdesk-linux]
- runs-on: ${{ matrix.job.on }}
+ runs-on: ubuntu-20.04
if: ${{ inputs.upload-artifact }}
strategy:
fail-fast: false
@@ -1400,15 +1400,10 @@ jobs:
job:
- {
target: x86_64-unknown-linux-gnu,
- distro: ubuntu18.04,
- on: ubuntu-20.04,
arch: x86_64,
}
- {
target: aarch64-unknown-linux-gnu,
- # try out newer flatpak since error of "error: Nothing matches org.freedesktop.Platform in remote flathub"
- distro: ubuntu22.04,
- on: [self-hosted, Linux, ARM64],
arch: aarch64,
}
steps:
@@ -1501,6 +1496,42 @@ jobs:
pushd appimage
sudo appimage-builder --skip-tests --recipe ./AppImageBuilder-${{ matrix.job.arch }}.yml
+ build-flatpak:
+ name: Build flatpak ${{ matrix.job.target }}
+ needs: [build-rustdesk-linux]
+ runs-on: ${{ matrix.job.on }}
+ if: ${{ inputs.upload-artifact }}
+ strategy:
+ fail-fast: false
+ matrix:
+ job:
+ - {
+ target: x86_64-unknown-linux-gnu,
+ distro: ubuntu18.04,
+ on: ubuntu-20.04,
+ arch: x86_64,
+ }
+ - {
+ target: aarch64-unknown-linux-gnu,
+ # try out newer flatpak since error of "error: Nothing matches org.freedesktop.Platform in remote flathub"
+ distro: ubuntu22.04,
+ on: [self-hosted, Linux, ARM64],
+ arch: aarch64,
+ }
+ steps:
+ - name: Checkout source code
+ uses: actions/checkout@v3
+
+ - name: Download Binary
+ uses: actions/download-artifact@master
+ with:
+ name: rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb
+ path: .
+
+ - name: Rename Binary
+ run: |
+ mv rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.deb rustdesk-${{ env.VERSION }}.deb
+
- uses: rustdesk-org/run-on-arch-action@amd64-support
name: Build rustdesk flatpak package for ${{ matrix.job.arch }}
id: rpm