Skip to content

Commit

Permalink
doc: set concurrency in example yml file to prevent race conditions when
Browse files Browse the repository at this point in the history
run concurrently

A possible fix for svenstaro#20
  • Loading branch information
thunder-coding committed May 22, 2022
1 parent 6dbb0c8 commit 66d4b8e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ on:
tags:
- '*'

concurrency:
group: ${{ github.action_path }}
cancel-in-progress: true

jobs:
build:
name: Publish binaries
Expand Down Expand Up @@ -71,6 +75,10 @@ on:
tags:
- '*'

concurrency:
group: ${{ github.action_path }}
cancel-in-progress: true

jobs:
publish:
name: Publish for ${{ matrix.os }}
Expand Down Expand Up @@ -110,6 +118,10 @@ on:
tags:
- '*'
concurrency:
group: ${{ github.action_path }}
cancel-in-progress: true
jobs:
build:
name: Publish binaries
Expand Down Expand Up @@ -138,6 +150,10 @@ on:
tags:
- '*'
concurrency:
group: ${{ github.action_path }}
cancel-in-progress: true
jobs:
build:
name: Publish binaries
Expand Down Expand Up @@ -175,6 +191,10 @@ on:
tags:
- '*'
concurrency:
group: ${{ github.action_path }}
cancel-in-progress: true
jobs:
build:
Expand Down

0 comments on commit 66d4b8e

Please sign in to comment.