build: Switch GH cancel-action
@@ -25,9 +25,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- - uses: n1hility/cancel-previous-runs@v2
+ - name: Cancel previous run
+ uses: styfle/cancel-workflow-action@0.11.0
with:
- token: ${{ secrets.GITHUB_TOKEN }}
+ access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Version
id: vars
