Skip to content

Commit dca2ea2

Browse files
authored
Update build_publish.yml
1 parent 9575a19 commit dca2ea2

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/build_publish.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@ jobs:
1717
- name: Build
1818
shell: bash
1919
run: ./build.sh
20-
- name: Test
21-
shell: sh
22-
run: ./mono_nunit_test.sh
20+
# - name: Test
21+
# shell: sh
22+
# run: ./mono_nunit_test.sh
2323
# - name: Publish
2424
# shell: bash
2525
# run: dotnet nuget push
26-
# - name: Publish to NuGet
27-
# uses: rohith/publish-nuget@v2.1.2
28-
# with:
29-
# # Filepath of the project to be packaged, relative to root of repository
30-
# PROJECT_FILE_PATH: TBAAPI.V3Client.sln
31-
# # Filepath containing version info, relative to root of repository. Defaults to `PROJECT_FILE_PATH` if not specified
32-
# VERSION_FILE_PATH: README.md # optional
33-
# # Regex (with version in a capturing group) to extract the version from `VERSION_FILE_PATH`
34-
# VERSION_REGEX: 'SDK version: ((?:\d\.?)+)' # optional, default is <Version>(.*)<\/Version>
35-
# # Whether to create a tag when there's a version change
36-
# TAG_COMMIT: false # optional, default is true
37-
# # Format of the tag, `*` is the placeholder for actual version
38-
# #TAG_FORMAT: # optional, default is v*
39-
# # API key for the NuGet feed
40-
# NUGET_KEY: ${{ secrets.NuGetAPIKey }} # optional
41-
# # NuGet package name, required when it's different from the project name
42-
# #PACKAGE_NAME: # optional
26+
- name: Publish to NuGet
27+
uses: rohith/publish-nuget@v2.1.2
28+
with:
29+
# Filepath of the project to be packaged, relative to root of repository
30+
PROJECT_FILE_PATH: TBAAPI.V3Client.sln
31+
# Filepath containing version info, relative to root of repository. Defaults to `PROJECT_FILE_PATH` if not specified
32+
VERSION_FILE_PATH: README.md # optional
33+
# Regex (with version in a capturing group) to extract the version from `VERSION_FILE_PATH`
34+
VERSION_REGEX: 'SDK version: ((?:\d\.?)+)' # optional, default is <Version>(.*)<\/Version>
35+
# Whether to create a tag when there's a version change
36+
TAG_COMMIT: false # optional, default is true
37+
# Format of the tag, `*` is the placeholder for actual version
38+
#TAG_FORMAT: # optional, default is v*
39+
# API key for the NuGet feed
40+
NUGET_KEY: ${{ secrets.NuGetAPIKey }} # optional
41+
# NuGet package name, required when it's different from the project name
42+
#PACKAGE_NAME: # optional

0 commit comments

Comments
 (0)