TSK-1842: replaced workflow-run-cleanup-action with new concurrency cmd
due to deprecation warning
This commit is contained in:
parent
5aa7bb41d3
commit
e5ac37b578
|
@ -8,6 +8,10 @@ on:
|
|||
- v[0-9]+\.[0-9]+\.[0-9]+
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.repository }}/${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
JAVA_VERSION: 11
|
||||
NODE_VERSION: 16.14.2
|
||||
|
@ -33,10 +37,6 @@ jobs:
|
|||
name: Compile all maven modules
|
||||
runs-on: ubuntu-20.04
|
||||
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
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK ${{ env.JAVA_VERSION }}
|
||||
|
|
Loading…
Reference in New Issue