Skip to content

Commit

Permalink
Update github-actions-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTourreau authored Dec 2, 2023
1 parent 9c681d5 commit a46fd46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/github-actions-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release

on:
push:
branches: [ "releases/*" ]
workflow_dispatch:
inputs:
VersionPrefix:
Expand Down Expand Up @@ -33,3 +31,6 @@ jobs:
--property:VersionPrefix=${{ github.event.inputs.VersionPrefix }}
--property:VersionSuffix=${{ github.event.inputs.VersionSuffix }}
"src/FluentValidation.Json/FluentValidation.Json.csproj"

- name: Publish the package to GPR
run: dotnet nuget push "src/FluentValidation.Json/bin/Release/*.nupkg" --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json

0 comments on commit a46fd46

Please sign in to comment.