Skip to content

Commit 11e5e69

Browse files
authored
Update secret_artifact_test.yml
1 parent 148ca01 commit 11e5e69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/secret_artifact_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252

5353
# 8. 上传包含 Secret 的文件作为 Artifact
5454
- name: Upload Secret File Artifact
55-
uses: actions/upload-artifact@v2
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: secret-artifact
5858
path: secret.txt
5959

6060
# 9. 缓存 pip 依赖(如果有 requirements.txt)
6161
- name: Cache pip packages
62-
uses: actions/cache@v2
62+
uses: actions/cache@v4
6363
with:
6464
path: ~/.cache/pip
6565
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
@@ -99,7 +99,7 @@ jobs:
9999
100100
# 14. 上传 Docker 镜像 tar 包作为 Artifact(可选)
101101
- name: Upload Docker Image Artifact
102-
uses: actions/upload-artifact@v2
102+
uses: actions/upload-artifact@v4
103103
with:
104104
name: docker-image-artifact
105105
path: secret-tester.tar

0 commit comments

Comments
 (0)