build: cancel previous github action runs (#11940)

This commit is contained in:
Jesse Yang
2020-12-08 15:27:08 -08:00
committed by GitHub
parent 7e6f04fce4
commit 8164aeafb1
9 changed files with 153 additions and 101 deletions

View File

@@ -29,6 +29,10 @@ jobs:
ports:
- 16379:6379
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2