Просмотр исходного кода

Update cancel behavior of CI

Only for current workflow, and do not continue on error
onevcat 1 год назад
Родитель
Сommit
fe04c3408d
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 2
      .github/workflows/build.yaml
  2. 1 2
      .github/workflows/test.yaml

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

@@ -7,13 +7,12 @@ defaults:
 on: [push, pull_request]
 
 concurrency:
-  group: ${{ github.head_ref || github.run_id }}
+  group: ${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: true
 
 jobs:
   build-framework:
     runs-on: self-hosted
-    continue-on-error: true
     strategy:
       matrix:
         destination: [

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

@@ -7,13 +7,12 @@ defaults:
 on: [push, pull_request]
 
 concurrency:
-  group: ${{ github.head_ref || github.run_id }}
+  group: ${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: true
 
 jobs:
   run-tests:
     runs-on: self-hosted
-    continue-on-error: true
     strategy:
       matrix:
         destination: [