Sfoglia il codice sorgente

fix: github workflows

Yeuoly 9 mesi fa
parent
commit
cc239fd52f
2 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 4 2
      .github/workflows/build-push.yml
  2. 1 1
      .github/workflows/tests.yml

+ 4 - 2
.github/workflows/build-push.yml

@@ -10,7 +10,7 @@ on:
 
 concurrency:
   group: build-push-${{ github.head_ref || github.run_id }}
-  cancel-in-progress: true
+  cancel-in-progress: false
 
 env:
   DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
@@ -22,6 +22,7 @@ jobs:
     runs-on: ${{ matrix.platform == 'linux/arm64' && 'arm64_runner' || 'ubuntu-latest' }}
     if: github.repository == 'langgenius/dify'
     strategy:
+      fail-fast: false
       matrix:
         include:
           - service_name: "build-serverless-daemon-amd64"
@@ -68,7 +69,7 @@ jobs:
         uses: docker/setup-buildx-action@v3
 
       - name: Build and push
-        uses: docker/build-push-action@v4
+        uses: docker/build-push-action@v5
         with:
           context: .
           file: ${{ matrix.dockerfile }}
@@ -86,6 +87,7 @@ jobs:
     runs-on: ubuntu-latest
     if: github.repository == 'langgenius/dify'
     strategy:
+      fail-fast: false
       matrix:
         scope: [serverless, local]
     steps:

+ 1 - 1
.github/workflows/tests.yml

@@ -9,7 +9,7 @@ on:
       - main
 
 concurrency:
-  group: test-amd64-${{ github.head_ref || github.run_id }}
+  group: test-${{ github.head_ref || github.run_id }}
   cancel-in-progress: true