From 1b6d5af7e4f61c8d177c3d0d0ec01d7782240b4b Mon Sep 17 00:00:00 2001 From: mirtlecn Date: Mon, 27 Apr 2026 14:17:34 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20bump=20version=20to=20node24=20and=20fix?= =?UTF-8?q?=20some=20typo=20-=20=E6=9B=B4=E6=96=B0=E4=B8=8A=E4=BC=A0=20act?= =?UTF-8?q?ion=20=E5=88=B0=20v3=20-=20=E4=BF=AE=E6=AD=A3=E5=87=A0=E5=A4=84?= =?UTF-8?q?=20typo=20-=20=E9=BB=98=E8=AE=A4=E4=B8=8D=E5=86=8D=E6=89=93?= =?UTF-8?q?=E5=8C=85=20Licence=20=E5=92=8C=20readme=20-=20=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E4=BF=9D=E7=95=99=E6=96=87=E4=BB=B6=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 37 +++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3416192..582240a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Build and Release +name: Test and Release on: push: @@ -14,8 +14,8 @@ on: workflow_dispatch: jobs: - smoke: - name: Smoke test before release + release: + name: Test and Release runs-on: ubuntu-24.04 if: github.repository == 'iDvel/rime-ice' @@ -79,10 +79,8 @@ jobs: zip -r dist/en_dicts.zip en_dicts echo "Pack opencc ..." zip -r dist/opencc.zip opencc + echo "Pack binary for fcitx5.js ..." zip -r dist/fcitx5_rime_js-rime_ice.zip build lua opencc custom_phrase.txt - echo "copy LICENSE and README.md..." - cp LICENSE dist/LICENSE.txt - cp README.md dist/README.md - name: Create nightly release if: ${{ github.ref == 'refs/heads/main' }} @@ -93,40 +91,53 @@ jobs: 这里是每次提交后自动打包的版本,包含最新的功能和词库 - - `README.md`:简易的使用说明 - `full.zip` : 包含所有词典和方案文件 - `cn_dicts.zip`:中文词库 - `en_dicts.zip`:英文词库 - `opencc.zip`:opencc 词库(emoji 等) - `all_dicts.zip`:以上三个词库的整合 - `fcitx5_rime_js-rime_ice.zip`:适用于 fcitx5-rime.js 的预构建包 - - `LICENSE.txt`:开源协议 tag_name: nightly + preserve_order: true name: "nightly build" make_latest: true files: | - dist/* + dist/full.zip + dist/all_dicts.zip + dist/cn_dicts.zip + dist/en_dicts.zip + dist/opencc.zip + dist/fcitx5_rime_js-rime_ice.zip - name: Create stable release if: startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: body: | + ## 重要更新 + + **release notes** + ## 说明 - - `README.md`:简易的使用说明 - `full.zip` : 包含所有词典和方案文件 - `cn_dicts.zip`:中文词库 - `en_dicts.zip`:英文词库 - `opencc.zip`:opencc 词库(emoji 等) - `all_dicts.zip`:以上三个词库的整合 - `fcitx5_rime_js-rime_ice.zip`:适用于 fcitx5-rime.js 的预构建包 - - `LICENSE.txt`:开源协议 + draft: true + preserve_order: true make_latest: true files: | - dist/* + dist/full.zip + dist/all_dicts.zip + dist/cn_dicts.zip + dist/en_dicts.zip + dist/opencc.zip + dist/fcitx5_rime_js-rime_ice.zip - name: Push and commit if: ${{ steps.check_and_build.outcome == 'success' }}