From a7c2f8ddc994b1d536ce0028c36b6e926909b738 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 8 Dec 2025 16:20:12 +0800 Subject: [PATCH] chore: update github workflows --- .github/workflows/push_image.yml | 12 ++++---- .github/workflows/push_image_next.yml | 12 ++++---- .github/workflows/release.yml | 36 ++++++++++++------------ .github/workflows/release_sync_gitee.yml | 4 +-- Dockerfile | 2 +- 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/push_image.yml b/.github/workflows/push_image.yml index 3b4f0d564..e0c063d98 100644 --- a/.github/workflows/push_image.yml +++ b/.github/workflows/push_image.yml @@ -19,14 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 22.19.0 + node-version: 24 - name: Build UI run: | @@ -35,7 +35,7 @@ jobs: npm --prefix=./ui run build - name: Upload UI build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ui-build path: ./ui/dist @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Free disk space uses: BRAINSia/free-disk-space@v2 @@ -90,7 +90,7 @@ jobs: # echo "VITE_APP_VERSION=${GITHUB_REF#refs/tags/}" > ./ui/.env - name: Download UI build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: ui-build path: ./ui/dist diff --git a/.github/workflows/push_image_next.yml b/.github/workflows/push_image_next.yml index 9a4017aec..617f52731 100644 --- a/.github/workflows/push_image_next.yml +++ b/.github/workflows/push_image_next.yml @@ -18,14 +18,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 22.19.0 + node-version: 24 - name: Build UI run: | @@ -34,7 +34,7 @@ jobs: npm --prefix=./ui run build - name: Upload UI build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ui-build path: ./ui/dist @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Free disk space uses: BRAINSia/free-disk-space@v2 @@ -89,7 +89,7 @@ jobs: # echo "VITE_APP_VERSION=${GITHUB_REF#refs/tags/}" > ./ui/.env - name: Download UI build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: ui-build path: ./ui/dist diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee445e317..a02c985c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 22.19.0 + node-version: 24 - name: Build UI run: | @@ -26,7 +26,7 @@ jobs: npm --prefix=./ui run build - name: Upload UI build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ui-build path: ./ui/dist @@ -37,17 +37,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: "go.mod" - name: Download UI build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: ui-build path: ./ui/dist @@ -70,7 +70,7 @@ jobs: done - name: Upload Linux binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: linux-binaries path: dist/linux/ @@ -81,17 +81,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: "go.mod" - name: Download UI build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: ui-build path: ./ui/dist @@ -108,7 +108,7 @@ jobs: done - name: Upload macOS binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: macos-binaries path: dist/darwin/ @@ -119,17 +119,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: "go.mod" - name: Download UI build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: ui-build path: ./ui/dist @@ -146,7 +146,7 @@ jobs: done - name: Upload Windows binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: windows-binaries path: dist/windows/ @@ -157,12 +157,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Download all binaries - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: path: ./artifacts diff --git a/.github/workflows/release_sync_gitee.yml b/.github/workflows/release_sync_gitee.yml index 6c3a1dd60..33c32abdd 100644 --- a/.github/workflows/release_sync_gitee.yml +++ b/.github/workflows/release_sync_gitee.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python3 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" diff --git a/Dockerfile b/Dockerfile index 25fcf3640..c8ed377f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine AS webui-builder +FROM node:24-alpine AS webui-builder WORKDIR /app COPY . /app/ RUN \