mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 06:46:35 +00:00
ci(build): 更新_checkout和setup-node动作至v4
- 将checkout动作更新为actions/checkout@v4.1.7,以利用改进的功能。 -将setup-node动作更新为actions/setup-node@v4,以提升CI/CD流程的性能和可靠性。- 更新upload-artifact动作至@v4,确保与最新版本的兼容性。
This commit is contained in:
parent
ccd5550f7c
commit
2c30071514
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@ -11,11 +11,10 @@ jobs:
|
|||||||
node-version: [20.x]
|
node-version: [20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout
|
||||||
uses: workflows/checkout@v3
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: workflows/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
@ -26,7 +25,7 @@ jobs:
|
|||||||
run: yarn build:win
|
run: yarn build:win
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: workflows/upload-artifact@v3
|
uses: @actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ExamShowboard-Windows
|
name: ExamShowboard-Windows
|
||||||
path: dist/*.exe
|
path: dist/*.exe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user