Skip to content

Commit

Permalink
ci: upgrade github action to v4
Browse files Browse the repository at this point in the history
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/.
  • Loading branch information
Bambooin committed Feb 10, 2024
1 parent ed4863f commit 653009f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 653009f

Please sign in to comment.