aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2026-01-18 17:11:51 +0800
committer苏向夜 <fu050409@163.com>2026-01-18 17:11:51 +0800
commit275612a0a39936584bfef7250a65a6a602751fe9 (patch)
tree16a194cf22d9e3b436e504051e937d4e4e1314a2 /.github
parent33eb32040999a488bdf0abcadd6e844decd9151a (diff)
downloadDropOut-275612a0a39936584bfef7250a65a6a602751fe9.tar.gz
DropOut-275612a0a39936584bfef7250a65a6a602751fe9.zip
ci(workspace): use root path as cwd
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/semifold-ci.yaml19
-rw-r--r--.github/workflows/test.yml2
2 files changed, 9 insertions, 12 deletions
diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml
index fbf38d8..5a08741 100644
--- a/.github/workflows/semifold-ci.yaml
+++ b/.github/workflows/semifold-ci.yaml
@@ -82,7 +82,6 @@ jobs:
- name: Rust Cache
uses: swatinem/rust-cache@v2
with:
- workspaces: "./src-tauri -> target"
shared-key: ${{ matrix.target }}
- name: Setup appimagetool (Linux)
@@ -128,7 +127,7 @@ jobs:
appimagetool squashfs-root "$APPIMAGE"
rm -rf squashfs-root
fi
- working-directory: src-tauri/target/release
+ working-directory: target/release
- name: Upload Artifact (Linux)
if: runner.os == 'Linux' && github.event_name == 'workflow_dispatch'
@@ -136,9 +135,9 @@ jobs:
with:
name: dropout-linux-${{ matrix.wayland && 'arch' || 'ubuntu' }}-${{ steps.slug.outputs.sha8 }}
path: |
- src-tauri/target/debug/bundle/appimage/*.AppImage
- src-tauri/target/debug/bundle/deb/*.deb
- src-tauri/target/debug/dropout
+ target/debug/bundle/appimage/*.AppImage
+ target/debug/bundle/deb/*.deb
+ target/debug/dropout
retention-days: 1
- name: Upload Artifact (Windows)
@@ -147,9 +146,9 @@ jobs:
with:
name: dropout-windows-${{ steps.slug.outputs.sha8 }}
path: |
- src-tauri/target/debug/bundle/msi/*.msi
- src-tauri/target/debug/bundle/nsis/*.exe
- src-tauri/target/debug/dropout.exe
+ target/debug/bundle/msi/*.msi
+ target/debug/bundle/nsis/*.exe
+ target/debug/dropout.exe
retention-days: 1
- name: Upload Artifact (macOS)
@@ -158,8 +157,8 @@ jobs:
with:
name: dropout-macos-${{ steps.slug.outputs.sha8 }}
path: |
- src-tauri/target/debug/bundle/dmg/*.dmg
- src-tauri/target/debug/bundle/macos/DropOut.app
+ target/debug/bundle/dmg/*.dmg
+ target/debug/bundle/macos/DropOut.app
retention-days: 1
# release:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8232705..f89dcde 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -87,8 +87,6 @@ jobs:
- name: Rust Cache
uses: swatinem/rust-cache@v2
- with:
- workspaces: ./src-tauri
- name: Run Tests
working-directory: ./src-tauri