Skip to content

Commit c49a951

Browse files
authored
add cancel step (#27)
* add cancel step * Update ci.yml
1 parent fcfee8b commit c49a951

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: NETCore
1+
name: NET
22

33
on:
44
push:
@@ -15,6 +15,12 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18+
19+
- name: Cancel previous builds in PR
20+
uses: styfle/[email protected]
21+
with:
22+
access_token: ${{ github.token }}
23+
1824
- uses: actions/checkout@v2
1925
with:
2026
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.

0 commit comments

Comments
 (0)