Skip to content

Debug Run

Debug Run #10

Workflow file for this run

name: Debug Run
on:
workflow_dispatch:
jobs:
linux-arm-build:
runs-on: ubuntu-22.04-arm
steps:
- name: Checkout desktop
uses: actions/checkout@v3
with:
repository: AlistGo/desktop
ref: v2
token: ${{ secrets.MY_TOKEN }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-unknown-linux-gnu
- uses: pnpm/action-setup@v2
with:
version: 9
run_install: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "pnpm"
- name: Install app dependencies
run: pnpm i
- name: Get Rclone version
id: get-rclone-version
uses: fangqiuming/latest-release-version@v1.2.0-beta
with:
repository: rclone/rclone
token: ${{ secrets.GITHUB_TOKEN }}
- name: Download sidecar
run: npx tsx ./scripts/bin.ts
env:
TARGET_TRIPLE: aarch64-unknown-linux-gnu
ALIST_VERSION: beta
RCLONE_VERSION: ${{ steps.get-rclone-version.outputs.tag_name }}
- name: Build web
run: pnpm build
- name: Build Linux ARM
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
run: pnpm tauri build --target aarch64-unknown-linux-gnu