diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd13019..ca77b4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -214,6 +214,10 @@ jobs: target: 'x86_64-unknown-linux-gnu' args: '' arch: 'x86_64' + - platform: 'ubuntu-22.04-arm' + target: 'aarch64-unknown-linux-gnu' + args: '' + arch: 'aarch64' - platform: 'windows-latest' target: 'x86_64-pc-windows-msvc' args: '' @@ -257,13 +261,11 @@ jobs: key: binaries-${{ matrix.target }}-${{ env.RCLONE_VERSION }}-${{ env.OPENLIST_VERSION }} - name: Install Linux dependencies - if: matrix.platform == 'ubuntu-22.04' + if: contains(matrix.platform, 'ubuntu') run: | sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - # NSIS 安装程序不需要额外依赖,Tauri 会自动处理 - - run: pnpm install --frozen-lockfile # 如果二进制文件已缓存,跳过下载