diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 89a55a30..b078aa0d 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -18,6 +18,11 @@ on:
required: false
type: boolean
default: true
+ run_linux_amd64:
+ description: "运行 Linux amd64"
+ required: false
+ type: boolean
+ default: true
permissions: write-all
env:
@@ -50,6 +55,11 @@ jobs:
bundle: nsis
id: windows-arm64
input: run_windows_arm64
+ - os: ubuntu-22.04
+ target: x86_64-unknown-linux-gnu
+ bundle: deb
+ id: linux-amd64
+ input: run_linux_amd64
runs-on: ${{ matrix.os }}
steps:
@@ -78,6 +88,12 @@ jobs:
cache-all-crates: true
shared-key: autobuild-shared
+ - name: Install dependencies (ubuntu only)
+ if: matrix.os == 'ubuntu-22.04' && github.event.inputs[matrix.input] == 'true'
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
+
- uses: pnpm/action-setup@v4
name: Install pnpm
if: github.event.inputs[matrix.input] == 'true'
@@ -119,7 +135,7 @@ jobs:
tauriScript: pnpm
args: --target ${{ matrix.target }} -b ${{ matrix.bundle }}
- - name: Upload Artifacts
+ - name: Upload Artifacts (macOS)
if: matrix.os == 'macos-latest' && github.event.inputs[matrix.input] == 'true'
uses: actions/upload-artifact@v4
with:
@@ -127,10 +143,18 @@ jobs:
path: src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
if-no-files-found: error
- - name: Upload Artifacts
+ - name: Upload Artifacts (Windows)
if: matrix.os == 'windows-latest' && github.event.inputs[matrix.input] == 'true'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}
path: src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe
if-no-files-found: error
+
+ - name: Upload Artifacts (Linux)
+ if: matrix.os == 'ubuntu-22.04' && github.event.inputs[matrix.input] == 'true'
+ uses: actions/upload-artifact@v4
+ with:
+ name: ${{ matrix.target }}
+ path: src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb
+ if-no-files-found: error
diff --git a/src/components/home/test-card.tsx b/src/components/home/test-card.tsx
index 5c369b51..51850090 100644
--- a/src/components/home/test-card.tsx
+++ b/src/components/home/test-card.tsx
@@ -5,6 +5,7 @@ import {
useSensor,
useSensors,
DragEndEvent,
+ DragOverlay,
} from "@dnd-kit/core";
import { SortableContext } from "@dnd-kit/sortable";
import { Add, NetworkCheck } from "@mui/icons-material";
@@ -196,6 +197,7 @@ export const TestCard = () => {
onDragEnd={onDragEnd}
>
{renderTestItems}
+
diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx
index ae430f23..3b6c5537 100644
--- a/src/pages/profiles.tsx
+++ b/src/pages/profiles.tsx
@@ -2,6 +2,7 @@ import {
closestCenter,
DndContext,
DragEndEvent,
+ DragOverlay,
KeyboardSensor,
PointerSensor,
useSensor,
@@ -898,6 +899,7 @@ const ProfilePage = () => {
+