Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

Update GitHub Artifact Actions (major) (#9986)

renovate[bot]831948a305a7
diff --git a/.github/workflows/desktop-pr-build.yml b/.github/workflows/desktop-pr-build.yml
index e8663ec3e3d..c5f28e97538 100644
--- a/.github/workflows/desktop-pr-build.yml
+++ b/.github/workflows/desktop-pr-build.yml
@@ -202,7 +202,7 @@ jobs:
# 上传构建产物
- name: Upload artifact
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: release-${{ matrix.os }}
path: |
@@ -241,7 +241,7 @@ jobs:
# 下载所有平台的构建产物
- name: Download artifacts
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
path: release
pattern: release-*
@@ -267,7 +267,7 @@ jobs:
# 上传合并后的构建产物
- name: Upload artifacts with merged macOS files
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: merged-release-pr
path: release/
@@ -290,7 +290,7 @@ jobs:
# 下载合并后的构建产物
- name: Download merged artifacts
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
name: merged-release-pr
path: release
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 98238c1f8c9..c982c1d9b06 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -104,7 +104,7 @@ jobs:
touch "/tmp/digests/${digest#sha256:}"
- name: Upload artifact
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: digest-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
@@ -122,7 +122,7 @@ jobs:
fetch-depth: 0
- name: Download digests
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
path: /tmp/digests
pattern: digest-*
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index f6dabb92a97..da2cc5dace9 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -37,7 +37,7 @@ jobs:
- name: Upload Cucumber HTML report (on failure)
if: failure()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: cucumber-report
path: e2e/reports
@@ -45,7 +45,7 @@ jobs:
- name: Upload screenshots (on failure)
if: failure()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: test-screenshots
path: e2e/screenshots
diff --git a/.github/workflows/release-desktop-beta.yml b/.github/workflows/release-desktop-beta.yml
index a02bbf5496c..55810bc1441 100644
--- a/.github/workflows/release-desktop-beta.yml
+++ b/.github/workflows/release-desktop-beta.yml
@@ -181,7 +181,7 @@ jobs:
# 上传构建产物 (工作流处理重命名,不依赖 electron-builder 钩子)
- name: Upload artifact
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: release-${{ matrix.os }}
path: |
@@ -220,7 +220,7 @@ jobs:
# 下载所有平台的构建产物
- name: Download artifacts
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
path: release
pattern: release-*
@@ -246,7 +246,7 @@ jobs:
# 上传合并后的构建产物
- name: Upload artifacts with merged macOS files
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: merged-release
path: release/
@@ -262,7 +262,7 @@ jobs:
steps:
# 下载合并后的构建产物
- name: Download merged artifacts
- uses: actions/download-artifact@v5
+ uses: actions/download-artifact@v6
with:
name: merged-release
path: release