mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
💚 修正路径
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -20,11 +20,11 @@ jobs:
|
|||||||
target: "windows"
|
target: "windows"
|
||||||
bundlePath: msi/
|
bundlePath: msi/
|
||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
args: "--target x86_64-apple-darwin"
|
args: "x86_64-apple-darwin"
|
||||||
target: "macos-intel"
|
target: "macos-intel"
|
||||||
bundlePath: macos/TeyvatGuide.app
|
bundlePath: macos/TeyvatGuide.app
|
||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
args: "--target aarch64-apple-darwin"
|
args: "aarch64-apple-darwin"
|
||||||
target: "macos-arm"
|
target: "macos-arm"
|
||||||
bundlePath: macos/TeyvatGuide.app
|
bundlePath: macos/TeyvatGuide.app
|
||||||
runs-on: ${{ matrix.settings.platform }}
|
runs-on: ${{ matrix.settings.platform }}
|
||||||
@@ -61,10 +61,10 @@ jobs:
|
|||||||
- name: Update version
|
- name: Update version
|
||||||
run: pnpm upv ${{ github.event.inputs.version }}
|
run: pnpm upv ${{ github.event.inputs.version }}
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: pnpm build ${{ matrix.settings.args }}
|
run: pnpm build --target ${{ matrix.settings.args }}
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: TeyvatGuide_v${{ github.event.inputs.version }}_${{ matrix.settings.target }}
|
name: TeyvatGuide_v${{ github.event.inputs.version }}_${{ matrix.settings.target }}
|
||||||
path: src-tauri/target/release/bundle/${{ matrix.settings.bundlePath }}
|
path: src-tauri/target/${{ matrix.settings.args }}/release/bundle/${{ matrix.settings.bundlePath }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|||||||
Reference in New Issue
Block a user