🌱 尝试引入Sentry进行分析

This commit is contained in:
BTMuli
2025-12-29 18:24:21 +08:00
parent e247c6a058
commit cfea47f11c
13 changed files with 1221 additions and 40 deletions

View File

@@ -27,6 +27,9 @@ jobs:
args: "--target aarch64-apple-darwin"
target: "macos-arm"
runs-on: ${{ matrix.settings.platform }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
APP_VERSION: ${{ github.sha }}
steps:
- name: Checkout

View File

@@ -29,6 +29,9 @@ jobs:
target: "macos-arm"
artifact: "debug-build-macos-arm"
runs-on: ${{ matrix.settings.platform }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
COMMIT_HASH: ${{ github.sha }}
steps:
- name: Checkout
@@ -73,10 +76,6 @@ jobs:
version: 10.23.0
- name: Install frontend dependencies
run: pnpm install
# 获取commit hash后续用这个做文件命名
- name: Get Commit Hash
id: get_commit_hash
run: echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
# Build Debug
- name: Build debug app