Skip to content

Commit

Permalink
Try to avoid concurrent sonatype publish jobs (#1419)
Browse files Browse the repository at this point in the history
Pull request: #1419
  • Loading branch information
lefou authored Jul 22, 2021
1 parent e631c38 commit c983fc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ jobs:

runs-on: ubuntu-latest

# only run one publish job for the same sha at the same time
# e.g. when a main-branch push is also tagged
concurrency: publish-sonatype-${{ github.sha }}

env:
SONATYPE_PGP_SECRET: ${{ secrets.SONATYPE_PGP_SECRET }}
SONATYPE_DEPLOY_USER: ${{ secrets.SONATYPE_DEPLOY_USER }}
Expand Down

0 comments on commit c983fc5

Please sign in to comment.