Skip to content

Commit

Permalink
Update publish-messagepack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis authored Jan 26, 2023
1 parent bf87bd4 commit 9755096
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-messagepack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: publish SmartEnum.MessagePack to nuget
on:
workflow_dispatch:
push:
branches:
- main # Your default release branch
Expand All @@ -21,9 +22,9 @@ jobs:

# Publish
- name: publish on version change
uses: rohith/publish-nuget@v2
uses: irezanet/publish-nuget@v3.0.0
with:
# PROJECT_FILE_PATH: src/SmartEnum.MessagePack/SmartEnum.MessagePack.csproj # Relative to repository root
PROJECT_FILE_PATH: src/SmartEnum.MessagePack/SmartEnum.MessagePack.csproj # Relative to repository root
VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file
VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group
TAG_COMMIT: true # Flag to enable / disable git tagging
Expand Down

0 comments on commit 9755096

Please sign in to comment.