TSK-1842: replaced workflow-run-cleanup-action with new concurrency cmd

due to deprecation warning
This commit is contained in:
Mustapha Zorgati 2022-04-07 15:03:00 +02:00
parent 5aa7bb41d3
commit e5ac37b578
1 changed files with 4 additions and 4 deletions

View File

@ -8,6 +8,10 @@ on:
- v[0-9]+\.[0-9]+\.[0-9]+ - v[0-9]+\.[0-9]+\.[0-9]+
pull_request: pull_request:
concurrency:
group: ${{ github.repository }}/${{ github.ref }}
cancel-in-progress: true
env: env:
JAVA_VERSION: 11 JAVA_VERSION: 11
NODE_VERSION: 16.14.2 NODE_VERSION: 16.14.2
@ -33,10 +37,6 @@ jobs:
name: Compile all maven modules name: Compile all maven modules
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Cleanup old CI runs on same branch
uses: rokroskar/workflow-run-cleanup-action@v0.3.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Git checkout - name: Git checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up JDK ${{ env.JAVA_VERSION }} - name: Set up JDK ${{ env.JAVA_VERSION }}