Skip to content

Commit fb31d95

Browse files
committed
Fix pipeline
1 parent 5ce4d9f commit fb31d95

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ jobs:
8282

8383
- name: publish
8484
working-directory: ./src
85-
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
85+
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --no-symbols true

.github/workflows/Release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
with:
1616
dotnet-version: 3.1.100
1717

18-
- name: pack binary
18+
- name: pack code
1919
working-directory: ./src
20-
run: dotnet pack ./ExpressionShortcuts/ExpressionShortcuts.csproj -c Release /p:version=${{ github.event.release.tag_name }}
21-
20+
run: dotnet pack ./ExpressionShortcuts/ExpressionShortcuts.Source.csproj /p:version=${{ github.event.release.tag_name }}
21+
2222
- name: publish
2323
working-directory: ./src
24-
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
24+
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --no-symbols true

src/ExpressionShortcuts/ExpressionShortcuts.Source.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1010
<IsPackable>true</IsPackable>
1111
<Configuration>Source</Configuration>
12+
<IncludeSymbols>false</IncludeSymbols>
1213
</PropertyGroup>
1314

1415
<PropertyGroup>
@@ -17,9 +18,9 @@
1718
<Description>A set of APIs for to simplify work with System.Linq.Expressions</Description>
1819
<PackageIcon>images\icon.png</PackageIcon>
1920
<PackageId>ExpressionShortcuts</PackageId>
20-
<PackageLicense>https://opensource.org/licenses/mit</PackageLicense>
21+
<PackageLicenseUrl>https://github.com/zjklee/ExpressionShortcuts/blob/master/LICENSE</PackageLicenseUrl>
2122
<PackageProjectUrl>https://github.com/zjklee/ExpressionShortcuts</PackageProjectUrl>
22-
<PackageTags>expression-tree;expressions</PackageTags>
23+
<PackageTags>expression;tree;expression-tree;expressions</PackageTags>
2324
<RepositoryType>git</RepositoryType>
2425
<RepositoryUrl>https://github.com/zjklee/ExpressionShortcuts</RepositoryUrl>
2526
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -42,7 +43,7 @@
4243
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
4344
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
4445
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
45-
<PackageId>$(PackageId).Sources</PackageId>
46+
<PackageId>$(PackageId)</PackageId>
4647
</PropertyGroup>
4748

4849
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">

0 commit comments

Comments
 (0)