Skip to content

Commit

Permalink
ci cancle (#1078)
Browse files Browse the repository at this point in the history
* cancel old commit && avoid canceling other pr

---------

Co-authored-by: yanghaoqi <[email protected]>
  • Loading branch information
curioyang and yanghaoqi authored Sep 6, 2023
1 parent f828e43 commit 94afeb4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/compiler-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: compiler-build

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

env:
NUGET_CERT_REVOCATION_MODE: offline
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/compiler-python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: compiler-python-release

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build-compiler:
name: build-${{matrix.config.name}}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/runtime-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: runtime-build

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build-native-runtime:
name: build-runtime-${{matrix.config.name}}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,6 @@ nupkg
*.runsettings
cmake-build-*
*gmodel_dump_dir*

*.ipynb_checkpoints*
# Auto generated files
# generated/

0 comments on commit 94afeb4

Please sign in to comment.