Skip to content

Commit

Permalink
Update publish-modelbinding.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis authored Jan 26, 2023
1 parent 9755096 commit b3bfff2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-modelbinding.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: publish Ardalis.SmartEnum.ModelBinding 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.ModelBinding/SmartEnum.ModelBinding.csproj # Relative to repository root
PROJECT_FILE_PATH: src/SmartEnum.ModelBinding/SmartEnum.ModelBinding.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 b3bfff2

Please sign in to comment.