From e581034d5d27e1270cd5dcca78e6c10afbc8baa3 Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Wed, 25 Dec 2024 12:47:03 -0500 Subject: [PATCH] sync scroll mode fixes --- .github/workflows/ci.yml | 15 ++++++++++++++- fcitx5-js | 2 +- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e3204d..38aa58f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: push: branches: - master + tags: + - '[0-9]+.*' pull_request: jobs: @@ -75,7 +77,7 @@ jobs: if: ${{ failure() }} uses: mxschmitt/action-tmate@v3 - - name: Release + - name: Create nightly release if: ${{ github.ref == 'refs/heads/master' }} uses: 'marvinpinto/action-automatic-releases@latest' with: @@ -85,3 +87,14 @@ jobs: title: "Nightly Build" files: | fcitx5-rime-*.tgz + + - name: Create stable release + if: ${{ github.ref_type == 'tag' }} + uses: 'marvinpinto/action-automatic-releases@latest' + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + draft: true + prerelease: false + title: ${{ github.ref_name }} + files: | + fcitx5-rime-*.tgz diff --git a/fcitx5-js b/fcitx5-js index afd976e..6c604d5 160000 --- a/fcitx5-js +++ b/fcitx5-js @@ -1 +1 @@ -Subproject commit afd976e2b5e5e39e896c52d4d7cecf60350bdc1e +Subproject commit 6c604d5b3dff82d568671e0aa17ad1ea454ec8df diff --git a/package.json b/package.json index cbcd040..93eb084 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fcitx5-rime", - "version": "0.1.0", + "version": "0.1.1", "description": "Fcitx5 Rime as a JavaScript library", "type": "module", "main": "dist/Fcitx5.js",