Skip to content

Commit

Permalink
ci(build): 更新_checkout和setup-node动作至v4
Browse files Browse the repository at this point in the history
- 将checkout动作更新为actions/[email protected],以利用改进的功能。
-将setup-node动作更新为actions/setup-node@v4,以提升CI/CD流程的性能和可靠性。- 更新upload-artifact动作至@v4,确保与最新版本的兼容性。
  • Loading branch information
hello8693 committed Aug 27, 2024
1 parent ccd5550 commit 2c30071
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
node-version: [20.x]

steps:
- name: Checkout code
uses: workflows/checkout@v3

- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: workflows/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -26,7 +25,7 @@ jobs:
run: yarn build:win

- name: Upload artifact
uses: workflows/upload-artifact@v3
uses: @actions/upload-artifact@v4
with:
name: ExamShowboard-Windows
path: dist/*.exe

0 comments on commit 2c30071

Please sign in to comment.