youwallet / wallet

🚀 基于Flutter开发的跨终端数字货币交易所✨
https://youwallet.github.io/
116 stars 55 forks source link

使用github Action实现app自动build然后发布到release页面 #107

Closed zhaobinglong closed 4 years ago

zhaobinglong commented 4 years ago

监听版本发布的tag

# 工作流程触发的时机,这里是当一个版本标签推送到仓库时触发
on:
  push:
    tags:
      - v*

link:https://www.v2ex.com/t/648310

zhaobinglong commented 4 years ago

Keystore文件是在本地生成的密钥文件,不能上传到github,但是build的时候需要Keystore,该怎么办呢

link:https://www.huangyunkun.com/2020/02/03/github-action-large-secrets/

zhaobinglong commented 4 years ago

添加自动构建的徽标 GitHub Action 现在也提供了类似于上文提到的构建状态徽标,MarkDown 使用格式如下二选一:

https://github.com///workflows//badge.svg

https://github.com///workflows//badge.svg 例如我想要调用 songtianlun 中 Plan Assistant 代码仓库中的 Android CI 工作流构建状态就可以通过 https://github.com/songtianlun/PlanAssistant/workflows/Android%20CI/badge.svg 看到下图所示效果:

link:https://blog.frytea.com/archives/260/