File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Publish
3
3
on :
4
4
release :
5
5
types : [published]
6
- tags : [release/**]
7
6
8
7
jobs :
9
8
Validation :
@@ -18,11 +17,10 @@ jobs:
18
17
with :
19
18
dotnet-version : 5.0.x
20
19
- name : Get Version Number
21
- shell : bash
22
20
run : echo "PACKAGE_VERSION=${GITHUB_REF#refs/tags/release/*}" >> $GITHUB_ENV
23
21
- name : Pack
24
- run : dotnet pack -p:PackageVersion=$PACKAGE_VERSION
25
- - name : Push to Nuget .org
22
+ run : dotnet pack -p:PackageVersion=$PACKAGE_VERSION --configuration Release
23
+ - name : Push to NuGet .org
26
24
run : |-
27
25
echo "::add-mask::${{ secrets.NUGET_ORG_KEY }}"
28
- dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_ORG_KEY }} --source https://api.nuget.org/v3/index.json
26
+ dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_ORG_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
Original file line number Diff line number Diff line change 11
11
<PropertyGroup >
12
12
<PublishRepositoryUrl >true</PublishRepositoryUrl >
13
13
<IncludeSymbols >true</IncludeSymbols >
14
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
14
15
<EmbedUntrackedSources >true</EmbedUntrackedSources >
15
16
<Authors >Ethan Shea</Authors >
16
17
<PackageLicenseExpression >GPL-3.0-only</PackageLicenseExpression >
17
18
<Description >FuzzDotNet is a library enabling fuzz-testing and the generation synthetic application data.</Description >
19
+ <PackageTags >testing;FuzzDotNet;unit test;fuzz test</PackageTags >
20
+ <PackageProjectUrl >https://github.com/pensono/FuzzDotNet</PackageProjectUrl >
18
21
</PropertyGroup >
19
22
20
23
<ItemGroup >
Original file line number Diff line number Diff line change 4
4
<ItemGroup >
5
5
<ProjectReference Include =" Core/FuzzDotNet.Core.csproj" />
6
6
<ProjectReference Include =" MSTest/FuzzDotNet.MSTest.csproj" />
7
+ <ProjectReference Include =" Xunit/FuzzDotNet.Xunit.csproj" />
7
8
</ItemGroup >
8
9
</Project >
You can’t perform that action at this time.
0 commit comments