Avoid deploy concurrency

This commit is contained in:
Andrea Cavalli 2021-09-26 23:12:38 +02:00
parent 18d94f7630
commit 7c5c79f4eb

View File

@ -261,6 +261,7 @@ jobs:
name: ${{ steps.getfilename.outputs.file }} name: ${{ steps.getfilename.outputs.file }}
path: ${{ steps.getfilepath.outputs.file }} path: ${{ steps.getfilepath.outputs.file }}
- name: Deploy to Maven (Snapshot) - name: Deploy to Maven (Snapshot)
concurrency: deploy
if: github.ref == 'refs/heads/develop' if: github.ref == 'refs/heads/develop'
shell: bash shell: bash
run: | run: |
@ -272,6 +273,7 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }} MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }}
- name: Deploy to Maven (Release) - name: Deploy to Maven (Release)
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
concurrency: deploy
shell: bash shell: bash
run: | run: |
echo "REVISION: $REVISION" echo "REVISION: $REVISION"