mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🌱 尝试引入Sentry进行分析
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
7
.github/workflows/debug.yml
vendored
7
.github/workflows/debug.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user