From a06abdcc1117ad78afd8215445c36ddb9c1f425e Mon Sep 17 00:00:00 2001 From: Bambooin Date: Fri, 9 Feb 2024 10:52:46 +0800 Subject: [PATCH 1/3] ci: upgrade github action to v4 This will dismiss the warning of deprecated Node.js 16 > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. --- .github/workflows/commit-ci.yml | 4 ++-- .github/workflows/pull-request-ci.yml | 4 ++-- .github/workflows/release-ci.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/commit-ci.yml b/.github/workflows/commit-ci.yml index 6eb251f88..428dd04b2 100644 --- a/.github/workflows/commit-ci.yml +++ b/.github/workflows/commit-ci.yml @@ -8,7 +8,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout last commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true @@ -20,7 +20,7 @@ jobs: run: ./action-build.sh package - name: Upload Squirrel artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Squirrel-${{ env.git_ref_name }}.zip path: package/*.pkg diff --git a/.github/workflows/pull-request-ci.yml b/.github/workflows/pull-request-ci.yml index 2bb3f0ad0..aec5d65df 100644 --- a/.github/workflows/pull-request-ci.yml +++ b/.github/workflows/pull-request-ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout last commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true @@ -17,7 +17,7 @@ jobs: run: ./action-build.sh package - name: Upload Squirrel artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Squirrel-${{ env.git_ref_name }}.zip path: package/*.pkg diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index f17b228bd..eed65e985 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -10,7 +10,7 @@ jobs: SQUIRREL_BUNDLED_RECIPES: 'lotem/rime-octagram-data lotem/rime-octagram-data@hant' steps: - name: Checkout last commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true From 65a66fd2040bfd18c280782f70937046078864de Mon Sep 17 00:00:00 2001 From: Bambooin Date: Fri, 9 Feb 2024 11:02:50 +0800 Subject: [PATCH 2/3] chore: use macos 14 runner with M1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ --- .github/workflows/commit-ci.yml | 2 +- .github/workflows/pull-request-ci.yml | 2 +- .github/workflows/release-ci.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit-ci.yml b/.github/workflows/commit-ci.yml index 428dd04b2..e2bd4be61 100644 --- a/.github/workflows/commit-ci.yml +++ b/.github/workflows/commit-ci.yml @@ -5,7 +5,7 @@ on: - '*' jobs: build: - runs-on: macos-latest + runs-on: macos-14 steps: - name: Checkout last commit uses: actions/checkout@v4 diff --git a/.github/workflows/pull-request-ci.yml b/.github/workflows/pull-request-ci.yml index aec5d65df..43200eb2c 100644 --- a/.github/workflows/pull-request-ci.yml +++ b/.github/workflows/pull-request-ci.yml @@ -2,7 +2,7 @@ name: pull request ci on: [pull_request] jobs: build: - runs-on: macos-latest + runs-on: macos-14 steps: - name: Checkout last commit uses: actions/checkout@v4 diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index eed65e985..29cb204aa 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -5,7 +5,7 @@ on: - '*' jobs: build: - runs-on: macos-latest + runs-on: macos-14 env: SQUIRREL_BUNDLED_RECIPES: 'lotem/rime-octagram-data lotem/rime-octagram-data@hant' steps: From 3d70c75e4150cf73fefcf7d04a61066761c31ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Sat, 10 Feb 2024 17:43:06 +0800 Subject: [PATCH 3/3] deps: update librime to 1.10.0-5-g872cecf7 --- librime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librime b/librime index 868e077f4..872cecf7f 160000 --- a/librime +++ b/librime @@ -1 +1 @@ -Subproject commit 868e077f4a4efacf24624282d0da4976765c48f3 +Subproject commit 872cecf7f92b6afab7618a4b01e2d8c8f7f7bd7c