diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml new file mode 100644 index 0000000..80a649e --- /dev/null +++ b/.github/workflows/python-package-conda.yml @@ -0,0 +1,29 @@ +name: Build on Push + +on: + push: + paths-ignore: + - '**/*.md' + +jobs: + build-linux: + runs-on: ubuntu-latest + strategy: + max-parallel: 2 + + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Install dependencies(OpenCC) + run: | + pip install OpenCC + - name: Run Script + run: | + python ./rime-symbols-gen + - uses: actions/upload-artifact@v4 + with: + name: last-build + path: symbol** diff --git a/README.md b/README.md index 04a1d95..4220614 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ 本项目为 opencc 的配置文件,功能是将中文转换为符号,如“平方”转换为 ² ,以此来实现输入法快速输入特殊符号。是为[🍀️四叶草简体拼音](https://github.com/fkxxyz/rime-cloverpinyin)而设计的。 +## 最新自动build + +Build + ## 安装 推荐直接使用[🍀️四叶草简体拼音](https://github.com/fkxxyz/rime-cloverpinyin),自带该功能。 @@ -41,4 +45,4 @@ patch: tips: all ``` -然后重新部署即可 \ No newline at end of file +然后重新部署即可