Parcourir la source

Update cancel behavior of CI

Only for current workflow, and do not continue on error
onevcat il y a 1 an
Parent
commit
fe04c3408d
2 fichiers modifiés avec 2 ajouts et 4 suppressions
  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: [