Kaynağa Gözat

chore(CI): change target event for update python sdk

rename concurrency group name

Signed-off-by: zhanghongtong <rory-z@outlook.com>
zhanghongtong 3 yıl önce
ebeveyn
işleme
f147fc902c

+ 2 - 1
.github/workflows/build_packages.yaml

@@ -1,7 +1,7 @@
 name: Build packages
 
 concurrency:
-  group: build-${{ github.ref }}
+  group: build-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
 
 on:
@@ -37,6 +37,7 @@ jobs:
       with:
         image: tonistiigi/binfmt:latest
         platforms: all
+    - uses: docker/setup-buildx-action@v1
     - name: get docker sha256
       id: disgest
       run: |

+ 1 - 1
.github/workflows/run_fvt_tests.yaml

@@ -1,7 +1,7 @@
 name: Run fvt tests
 
 concurrency:
-  group: fvt-${{ github.ref }}
+  group: fvt-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
 
 on:

+ 1 - 1
.github/workflows/run_test_case.yaml

@@ -1,7 +1,7 @@
 name: Run test cases
 
 concurrency:
-  group: test-${{ github.ref }}
+  group: test-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
 
 on:

+ 1 - 0
.github/workflows/upload_sdk.yaml

@@ -12,6 +12,7 @@ on:
 jobs:
   python:
     runs-on: ubuntu-latest
+    if: github.repository == 'lf-edge/ekuiper'
     steps:
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2