Skip to content

Commit 3525baf

Browse files
committed
add back concurrency option
1 parent 6536184 commit 3525baf

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ on:
66
tags:
77
- "v*"
88
workflow_dispatch:
9-
9+
concurrency:
10+
group: publish-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
1012
env:
1113
GITHUB_TOKEN: ${{ github.token }}
1214
RUST_BACKTRACE: 1
1315
jobs:
1416
release:
1517
name: Release - ${{ matrix.platform.os_name }}
1618
env:
17-
RNK_RELEASE_VERSION: ${{ github.event.release.tag_name }}
19+
RNK_RELEASE_VERSION: ${{ github.ref_name }}
1820
strategy:
1921
matrix:
2022
platform:
@@ -110,7 +112,7 @@ jobs:
110112
rnk*.gz
111113
rnk*.zip
112114
- name: Publish GitHub release
113-
uses: softprops/action-gh-release@v1
115+
uses: softprops/action-gh-release@v2
114116
with:
115117
draft: true
116118
files: "rnk*"

0 commit comments

Comments
 (0)