Skip to content

Commit 6403e71

Browse files
committed
Various fixes for deployment problems.
1 parent 0ab4f7c commit 6403e71

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ jobs:
6161
GOTENBERG_PASSWORD: testpass
6262

6363
- name: Pack
64-
run: dotnet pack -c Release -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
65-
64+
run: dotnet pack src/Gotenberg.Sharp.Api.Client/Gotenberg.Sharp.Api.Client.csproj -c Release -p:PackageVersion=${{ steps.gitversion.outputs.FullSemVer }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
65+
6666
- name: Publish
6767
if: github.event_name != 'pull_request' && (github.ref_name == 'master')
68-
run: |
69-
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGETKEY }} --skip-duplicate
70-
dotnet nuget push **/*.snupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGETKEY }} --skip-duplicate
68+
run: dotnet nuget push src/Gotenberg.Sharp.Api.Client/bin/Release/*.nupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGETKEY }} --skip-duplicate

examples/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<IsPackable>false</IsPackable>
78
</PropertyGroup>
89

910
<ItemGroup>

src/Gotenberg.Sharp.Api.Client/Gotenberg.Sharp.Api.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
v2.1 - Added Trace Support. Fixed extra webhook header support.
3434
v2.0 - Upgraded to support Gotenberg v7 -- this version no longer works with Gotenberg v6.
3535
</PackageReleaseNotes>
36-
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
36+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
3737
<PackageProjectUrl>https://github.com/ChangemakerStudios/GotenbergSharpApiClient</PackageProjectUrl>
3838
<PackageIconUrl>https://raw.githubusercontent.com/ChangemakerStudios/GotenbergSharpApiClient/master/resources/gotenberg-sharp-client.png</PackageIconUrl>
3939
<PackageIcon>gotenberg-sharp-client.png</PackageIcon>

0 commit comments

Comments
 (0)