Преглед на файлове

Update cancel behavior of CI

Only for current workflow, and do not continue on error
onevcat преди 1 година
родител
ревизия
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]
 on: [push, pull_request]
 
 
 concurrency:
 concurrency:
-  group: ${{ github.head_ref || github.run_id }}
+  group: ${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 jobs:
 jobs:
   build-framework:
   build-framework:
     runs-on: self-hosted
     runs-on: self-hosted
-    continue-on-error: true
     strategy:
     strategy:
       matrix:
       matrix:
         destination: [
         destination: [

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

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