Skip to content

Commit

Permalink
Make nuget pipelines manual as they target different projects, mark m…
Browse files Browse the repository at this point in the history
…ain as default branch (#326)
  • Loading branch information
Tr00d authored Jan 13, 2023
1 parent a9c87ff commit 2c3ab4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-nuget-beta.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Vonage.Server NuGet Release
on:
release:
types: [ published ]
name: Vonage.Video.Beta NuGet Release
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,7 +11,7 @@ jobs:
uses: nexmo/github-actions/nuget-release@main
env:
PROJECT_FILE: Vonage.Server/Vonage.Server.csproj
BRANCH: 0.x
BRANCH: main
ORGANIZATION: Vonage
REPO: vonage-dotnet-sdk
TAG: ${{ github.event.release.tag_name }}
Expand All @@ -26,7 +24,7 @@ jobs:
uses: nexmo/github-actions/nuget-release@main
env:
PROJECT_FILE: Vonage.Server/Vonage.Server.csproj
BRANCH: 0.x
BRANCH: main
ORGANIZATION: Vonage
REPO: vonage-dotnet-sdk
TAG: ${{ github.event.release.tag_name }}
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Nuget Release
on:
release:
types: [published]
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -12,8 +10,8 @@ jobs:
- name: Release Nuget
uses: nexmo/github-actions/nuget-release@main
env:
PROJECT_FILE : Vonage/Vonage.csproj
BRANCH: 5.x
PROJECT_FILE: Vonage/Vonage.csproj
BRANCH: main
ORGANIZATION: Vonage
REPO: vonage-dotnet-sdk
TAG: ${{ github.event.release.tag_name }}
Expand All @@ -25,8 +23,8 @@ jobs:
- name: Release Nuget
uses: nexmo/github-actions/nuget-release@main
env:
PROJECT_FILE : Vonage/Vonage.csproj
BRANCH: 5.x
PROJECT_FILE: Vonage/Vonage.csproj
BRANCH: main
ORGANIZATION: Vonage
REPO: vonage-dotnet-sdk
TAG: ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 2c3ab4f

Please sign in to comment.