File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ jobs:
1717 Write-Host "开始配置 Android 签名..."
1818
1919 # 创建 keystore 目录
20- New-Item -ItemType Directory -Force -Path android/keystore
20+ New-Item -ItemType Directory -Force -Path android/app/ keystore
2121
2222 # 将 base64 转换回 jks 文件
23- $env:KEYSTORE_BASE64 | Out-File -FilePath android/keystore/keystore_base64.txt
24- certutil -decode android/keystore/keystore_base64.txt android/keystore/upload-keystore.jks
23+ $env:KEYSTORE_BASE64 | Out-File -FilePath android/app/ keystore/keystore_base64.txt
24+ certutil -decode android/app/ keystore/keystore_base64.txt android/app /keystore/upload-keystore.jks
2525
2626 # 验证 keystore 文件
27- if (Test-Path android/keystore/upload-keystore.jks) {
27+ if (Test-Path android/app/ keystore/upload-keystore.jks) {
2828 Write-Host "✅ Keystore 文件创建成功"
2929 } else {
3030 Write-Host "❌ Keystore 文件创建失败"
@@ -37,10 +37,10 @@ jobs:
3737 keyPassword=${{ secrets.KEY_PASSWORD }}
3838 keyAlias=${{ secrets.KEY_ALIAS }}
3939 storeFile=keystore/upload-keystore.jks
40- "@ | Out-File -FilePath android/key.properties -Encoding UTF8
40+ "@ | Out-File -FilePath android/app/ key.properties -Encoding UTF8
4141
4242 # 验证 key.properties 文件
43- if (Test-Path android/key.properties) {
43+ if (Test-Path android/app/ key.properties) {
4444 Write-Host "✅ key.properties 文件创建成功"
4545 } else {
4646 Write-Host "❌ key.properties 文件创建失败"
You can’t perform that action at this time.
0 commit comments