Skip to content

Commit

Permalink
🔧 use concurrency group to run one job at a time during PR merges (#294)
Browse files Browse the repository at this point in the history
* use concurrency group to run one job at a time

* Update extension-attach-artifact-release.yml
  • Loading branch information
sayaliM0412 authored Jan 24, 2025
1 parent 738acb4 commit 1cd8c30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/extension-attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
name: Build & Package - ${{ matrix.os }}
if: ${{ inputs.combineJars }}
runs-on: ${{ matrix.os }}
concurrency:
group: attach-artifact-${{ github.ref }}
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -260,6 +262,8 @@ jobs:
name: Attach Artifact to Release
needs: [ combineJars ]
runs-on: ubuntu-latest
concurrency:
group: attach-artifact-${{ github.ref }}
steps:
- run: sleep 30
if: ${{ inputs.dry_run == false }}
Expand Down

0 comments on commit 1cd8c30

Please sign in to comment.