Skip to content

Commit 9df0204

Browse files
authored
Update publish.yml
1 parent be374d1 commit 9df0204

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

.github/workflows/publish.yml

+9-22
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,24 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
# Publish
23-
- name: publish on version change
24-
id: publish_nuget
25-
uses: brandedoutcast/publish-nuget@v2
22+
- name: NuGet Publisher
23+
uses: Jacup/[email protected]
2624
with:
2725
# Filepath of the project to be packaged, relative to root of repository
2826
PROJECT_FILE_PATH: Dandraka.FuzzySubstringSearch/Dandraka.FuzzySubstringSearch.csproj
29-
3027
# NuGet package id, used for version detection & defaults to project name
31-
# PACKAGE_NAME: Core
32-
28+
#PACKAGE_NAME: # optional
3329
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH
34-
# VERSION_FILE_PATH: Directory.Build.props
35-
30+
#VERSION_FILE_PATH: # optional
3631
# Regex pattern to extract version info in a capturing group
37-
# VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
38-
32+
#VERSION_REGEX: # optional, default is ^\s*<Version>(.*)<\/Version>\s*$
3933
# Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX
40-
# VERSION_STATIC: 1.0.0
41-
34+
#VERSION_STATIC: # optional
4235
# Flag to toggle git tagging, enabled by default
43-
# TAG_COMMIT: true
44-
36+
#TAG_COMMIT: # optional, default is true
4537
# Format of the git tag, [*] gets replaced with actual version
46-
# TAG_FORMAT: v*
47-
38+
#TAG_FORMAT: # optional, default is v*
4839
# API key to authenticate with NuGet server
4940
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
50-
5141
# NuGet server uri hosting the packages, defaults to https://api.nuget.org
52-
# NUGET_SOURCE: https://api.nuget.org
53-
54-
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
55-
INCLUDE_SYMBOLS: true
42+
#NUGET_SOURCE: # optional, default is https://api.nuget.org

0 commit comments

Comments
 (0)