Files
jiu/.gitea/workflows/export-keystore.yml
T
wangjia 480ce836bb
Deploy / build-linux-web (push) Successful in 53s
Deploy / build-windows (push) Successful in 1m48s
Deploy / build-macos (push) Successful in 1m17s
Deploy / build-android (push) Successful in 4m13s
Deploy / build-ios (push) Successful in 9s
Deploy / release-deploy (push) Successful in 1m37s
chore: release v1.0.18
移动端响应式适配(抽屉导航/列表卡片/弹窗自适应)、Android 正式签名与 APK 发布、
iOS(TestFlight) 工程与 CI、多平台构建流水线、相关文档同步。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 07:55:33 +08:00

31 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 一次性:把 Android release keystore 从 CI secret 导出为 artifact,便于本地/Bitwarden 备份。
# 用完务必删除:① 本 workflow 文件;② 跑出来的这次 run 的 artifact(含密钥)。
# 触发:Forgejo 网页 → Actions → Export Keystore → Run workflow(手动)。
name: Export Keystore
on:
workflow_dispatch:
jobs:
export:
runs-on: mac
steps:
- name: Restore keystore from secret
env:
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
run: |
set -e
mkdir -p out
# 原始 base64(方便直接粘进 Bitwarden Secure Note
printf '%s' "$ANDROID_KEYSTORE_BASE64" > out/keystore.b64.txt
# 解码回二进制 keystore
printf '%s' "$ANDROID_KEYSTORE_BASE64" | base64 --decode > out/jiu-release.jks
echo "base64 长度: $(wc -c < out/keystore.b64.txt)"
echo "jks 字节数: $(wc -c < out/jiu-release.jks)"
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: keystore-backup
path: out/