Skip to content

Commit 71498a6

Browse files
committed
fix: 更新GitHub Actions到最新版本以解决deprecated警告
- 将actions/checkout从v3更新到v4 - 将actions/upload-artifact从v3更新到v4 - 解决因使用deprecated动作版本导致的构建失败
1 parent 9a794f5 commit 71498a6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
python-version: [3.9]
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
python-version: [3.9]
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
- name: Set up Python ${{ matrix.python-version }}
@@ -53,7 +53,7 @@ jobs:
5353
fi
5454
5555
- name: Upload Graph
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: release-graph-v${{ steps.scm_version.outputs.VERSION }}
5959
path: graph

0 commit comments

Comments
 (0)