mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🐛 修复构建异常
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -47,9 +47,9 @@ jobs:
|
||||
run: ssh -T git@github.com || true
|
||||
- name: Load env.production
|
||||
id: env
|
||||
if: matrix.settings.target == 'windows'
|
||||
run: |
|
||||
VITE_SENTRY_RELEASE=$(awk -F= '/^VITE_SENTRY_RELEASE=/ {print $2}' .env.production)
|
||||
echo "VITE_SENTRY_RELEASE=$VITE_SENTRY_RELEASE" >> $GITHUB_ENV
|
||||
$VITE_SENTRY_RELEASE = Get-Content .env.production | Where-Object { $_ -match '^VITE_SENTRY_RELEASE=' } | ForEach-Object { ($_ -split '=')[1] }
|
||||
- name: Rust setup
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Rust cache
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"bundle": {
|
||||
"targets": ["app", "dmg"],
|
||||
"macOs": {}
|
||||
"targets": ["app", "dmg"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user