Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
build: update github actions (#30106)
Bowen Liangdfd2dd5c68b0
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.ymlindex 76cbf64fcac..152a9caee87 100644--- a/.github/workflows/api-tests.yml+++ b/.github/workflows/api-tests.yml@@ -22,12 +22,12 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:persist-credentials: false- name: Setup UV and Python- uses: astral-sh/setup-uv@v6+ uses: astral-sh/setup-uv@v7with:enable-cache: truepython-version: ${{ matrix.python-version }}@@ -57,7 +57,7 @@ jobs:run: sh .github/workflows/expose_service_ports.sh- name: Set up Sandbox- uses: hoverkraft-tech/[email protected]+ uses: hoverkraft-tech/compose-action@v2with:compose-file: |docker/docker-compose.middleware.yamldiff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.ymlindex 97027c22182..5413f83c270 100644--- a/.github/workflows/autofix.yml+++ b/.github/workflows/autofix.yml@@ -12,7 +12,7 @@ jobs:if: github.repository == 'langgenius/dify'runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- name: Check Docker Compose inputsid: docker-compose-changes@@ -27,7 +27,7 @@ jobs:with:python-version: "3.11"- - uses: astral-sh/setup-uv@v6+ - uses: astral-sh/setup-uv@v7- name: Generate Docker Composeif: steps.docker-compose-changes.outputs.any_changed == 'true'diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.ymlindex f7f464a6010..bbf89236de6 100644--- a/.github/workflows/build-push.yml+++ b/.github/workflows/build-push.yml@@ -90,7 +90,7 @@ jobs:touch "/tmp/digests/${sanitized_digest}"- name: Upload digest- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v6with:name: digests-${{ matrix.context }}-${{ env.PLATFORM_PAIR }}path: /tmp/digests/*diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.ymlindex 101d9734661..e20cf9850bf 100644--- a/.github/workflows/db-migration-test.yml+++ b/.github/workflows/db-migration-test.yml@@ -13,13 +13,13 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:fetch-depth: 0persist-credentials: false- name: Setup UV and Python- uses: astral-sh/setup-uv@v6+ uses: astral-sh/setup-uv@v7with:enable-cache: truepython-version: "3.12"@@ -63,13 +63,13 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:fetch-depth: 0persist-credentials: false- name: Setup UV and Python- uses: astral-sh/setup-uv@v6+ uses: astral-sh/setup-uv@v7with:enable-cache: truepython-version: "3.12"diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.ymlindex 876ec23a3d4..d6653de950f 100644--- a/.github/workflows/main-ci.yml+++ b/.github/workflows/main-ci.yml@@ -27,7 +27,7 @@ jobs:vdb-changed: ${{ steps.changes.outputs.vdb }}migration-changed: ${{ steps.changes.outputs.migration }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6- uses: dorny/paths-filter@v3id: changeswith:@@ -38,6 +38,7 @@ jobs:- '.github/workflows/api-tests.yml'web:- 'web/**'+ - '.github/workflows/web-tests.yml'vdb:- 'api/core/rag/datasource/**'- 'docker/**'diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex 8710f422fc4..d4633496865 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -19,13 +19,13 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:persist-credentials: false- name: Check changed filesid: changed-files- uses: tj-actions/changed-files@v46+ uses: tj-actions/changed-files@v47with:files: |api/**@@ -33,7 +33,7 @@ jobs:- name: Setup UV and Pythonif: steps.changed-files.outputs.any_changed == 'true'- uses: astral-sh/setup-uv@v6+ uses: astral-sh/setup-uv@v7with:enable-cache: falsepython-version: "3.12"@@ -68,15 +68,17 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:persist-credentials: false- name: Check changed filesid: changed-files- uses: tj-actions/changed-files@v46+ uses: tj-actions/changed-files@v47with:- files: web/**+ files: |+ web/**+ .github/workflows/style.yml- name: Install pnpmuses: pnpm/action-setup@v4@@ -85,7 +87,7 @@ jobs:run_install: false- name: Setup NodeJS- uses: actions/setup-node@v4+ uses: actions/setup-node@v6if: steps.changed-files.outputs.any_changed == 'true'with:node-version: 22@@ -114,14 +116,14 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:fetch-depth: 0persist-credentials: false- name: Check changed filesid: changed-files- uses: tj-actions/changed-files@v46+ uses: tj-actions/changed-files@v47with:files: |**.shdiff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yamlindex b1ccd7417ad..0259ef22326 100644--- a/.github/workflows/tool-test-sdks.yaml+++ b/.github/workflows/tool-test-sdks.yaml@@ -25,12 +25,12 @@ jobs:working-directory: sdks/nodejs-clientsteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6with:persist-credentials: false- name: Use Node.js ${{ matrix.node-version }}- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: ${{ matrix.node-version }}cache: ''diff --git a/.github/workflows/translate-i18n-base-on-english.yml b/.github/workflows/translate-i18n-base-on-english.ymlindex 87e24a4f90d..58cd18371f4 100644--- a/.github/workflows/translate-i18n-base-on-english.yml+++ b/.github/workflows/translate-i18n-base-on-english.yml@@ -18,7 +18,7 @@ jobs:run:working-directory: websteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v6with:fetch-depth: 0token: ${{ secrets.GITHUB_TOKEN }}@@ -51,7 +51,7 @@ jobs:- name: Set up Node.jsif: env.FILES_CHANGED == 'true'- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: 'lts/*'cache: pnpmdiff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.ymlindex 291171e5c7a..7735afdaca9 100644--- a/.github/workflows/vdb-tests.yml+++ b/.github/workflows/vdb-tests.yml@@ -19,19 +19,19 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:persist-credentials: false- name: Free Disk Space- uses: endersonmenezes/free-disk-space@v2+ uses: endersonmenezes/free-disk-space@v3with:remove_dotnet: trueremove_haskell: trueremove_tool_cache: true- name: Setup UV and Python- uses: astral-sh/setup-uv@v6+ uses: astral-sh/setup-uv@v7with:enable-cache: truepython-version: ${{ matrix.python-version }}diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.ymlindex 1a8925e38de..0fd1d5d22b8 100644--- a/.github/workflows/web-tests.yml+++ b/.github/workflows/web-tests.yml@@ -18,7 +18,7 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v6with:persist-credentials: false@@ -29,7 +29,7 @@ jobs:run_install: false- name: Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: 22cache: pnpm@@ -360,7 +360,7 @@ jobs:- name: Upload Coverage Artifactif: steps.coverage-summary.outputs.has_coverage == 'true'- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v6with:name: web-coverage-reportpath: web/coverage