Skip to content

Commit

Permalink
fix nuget package creation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskueffel committed Nov 1, 2023
1 parent 0ee9569 commit 64626a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/createnuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: dotnet restore FileSyncLibNet
- name: Pack

run: dotnet pack --no-restore --configuration Release -p:Version=${{ steps.version.outputs.version }} -o nuget FileSyncLibNet
run: dotnet pack --no-restore --configuration Release -p:Version=${{ steps.version.outputs.version }} -o nuget FileSyncLibNet/FileSyncLibNet.csproj
- name: Push
if: github.ref == 'refs/heads/main'
run: dotnet nuget push nuget/*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --no-symbols
Expand Down
2 changes: 1 addition & 1 deletion FileSyncLibNet/FileSyncLibNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="SMBLibrary" Version="1.5.0.1" />
</ItemGroup>
<ItemGroup>
<None Update="README.md">
<None Update="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
Expand Down

0 comments on commit 64626a1

Please sign in to comment.