Skip to content

Commit 0a3e7c8

Browse files
authored
Merge pull request #70 from e-conomic/EC-66318-Check-existing-Nuget-package-version-before-publishing
EC-66318 Check existing Nuget package version before publishing
2 parents 36be32a + 6d2f259 commit 0a3e7c8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
workflow_dispatch:
55
pull_request:
66

7+
concurrency:
8+
group: ${{ github.head_ref || github.ref }}
9+
cancel-in-progress: true
10+
711
env:
812
DOTNET_NOLOGO: 1
913
DOTNET_CLI_TELEMETRY_OPTOUT: 1

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
types:
66
- published
77

8+
concurrency:
9+
group: ${{ github.head_ref || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
build_and_publish:
1014
name: Build and publish
@@ -18,6 +22,12 @@ jobs:
1822
id: package_version
1923
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2024

25+
- name: Check nuget version availability
26+
uses: e-conomic/github-actions/nuget-version-check@v46
27+
with:
28+
name: "Rebus.Datadog.Tracing"
29+
version: ${{ steps.package_version.outputs.VERSION }}
30+
2131
- name: Setup .NET
2232
uses: actions/setup-dotnet@v4
2333
with:

0 commit comments

Comments
 (0)