Procházet zdrojové kódy

Update cancel behavior of CI

Only for current workflow, and do not continue on error
onevcat před 1 rokem
rodič
revize
fe04c3408d
2 změnil soubory, kde provedl 2 přidání a 4 odebrání
  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: [