Skip to content

Commit d740b60

Browse files
authored
Update main.yml
1 parent 41cd825 commit d740b60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: Nuget Push
1818
run: |
1919
Version=${GITHUB_REF:10}
20+
dotnet build -c Release
2021
sed -i "s/\(<MongoAnalyzerRuleSetVersion>\)[^<]*\(<\/MongoAnalyzerRuleSetVersion>\)/\1$version\2/" $solution/src/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer/build/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer.props
2122
dotnet pack Cnblogs.Architecture.sln -p:Version="$Version" -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -o "output"
2223
nuget push output/*.* -NonInteractive -Source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)