Files
wehub-resource-sync f99010fae1
CI / lint (push) Failing after 1s
CI / frontend (push) Failing after 1s
CI / scripts (push) Failing after 1s
CI / Go Test (ubuntu-latest) (push) Failing after 0s
CI / frontend-node-25 (push) Failing after 1s
CI / docs (push) Failing after 0s
CI / coverage (push) Failing after 0s
CI / e2e (push) Failing after 0s
Docker / build-and-push (push) Failing after 1s
CI / integration (push) Failing after 4m43s
CI / Go Test (windows-latest) (push) Has been cancelled
CI / Desktop Unit Tests (Windows) (push) Has been cancelled
Desktop Artifacts / Desktop Build (Linux (arm64)) (push) Has been cancelled
Desktop Artifacts / Desktop Build (Linux) (push) Has been cancelled
Desktop Artifacts / Desktop Build (Windows) (push) Has been cancelled
Desktop Artifacts (macOS) / Desktop Build (macOS (aarch64)) (push) Has been cancelled
Desktop Artifacts (macOS) / Desktop Build (macOS (x86_64)) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:30:36 +08:00

69 lines
2.1 KiB
YAML

name: Desktop Artifacts
on:
# Keep this workflow GitHub-hosted so pull requests cannot select a
# persistent runner. macOS builds live in desktop-macos-main.yml.
push:
branches: [main]
paths:
- 'desktop/**'
- 'frontend/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/desktop-artifacts.yml'
- '.github/actions/build-desktop-artifact/**'
pull_request:
branches: [main]
paths:
- 'desktop/**'
- 'frontend/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/desktop-artifacts.yml'
- '.github/actions/build-desktop-artifact/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Desktop Build (${{ matrix.name }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows
os: windows-latest
bundle: nsis
target_triple: ""
artifact_name: agentsview-desktop-windows
artifact_dir: desktop/src-tauri/target/release/bundle/nsis/
- name: Linux
os: ubuntu-22.04
bundle: appimage
target_triple: ""
artifact_name: agentsview-desktop-linux
artifact_dir: desktop/src-tauri/target/release/bundle/appimage/
- name: Linux (arm64)
os: ubuntu-22.04-arm
bundle: appimage
target_triple: aarch64-unknown-linux-gnu
artifact_name: agentsview-desktop-linux-arm64
artifact_dir: desktop/src-tauri/target/aarch64-unknown-linux-gnu/release/bundle/appimage/
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: ./.github/actions/build-desktop-artifact
with:
bundle: ${{ matrix.bundle }}
target_triple: ${{ matrix.target_triple }}
artifact_name: ${{ matrix.artifact_name }}
artifact_dir: ${{ matrix.artifact_dir }}