Skip to content

Commit e23417b

Browse files
authored
Merge pull request #7 from DevJasperNL/readme_in_package
Updated publish script and added readme to package.
2 parents a45f981 + 0d3bd0e commit e23417b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
dotnet-version: "9.0.x" # SDK Version
2929

3030
- name: 🎁 Pack
31-
run: dotnet pack CodeCasa.Libraries.sln --configuration Release -p:PackageVersion=${{ steps.version.outputs.version }} -p:Version=${{ steps.version.outputs.version }}
31+
run: |
32+
dotnet pack ./src/AutomationPipelines/ --configuration Release -p:PackageVersion=${{ steps.version.outputs.version }} -p:Version=${{ steps.version.outputs.version }}
3233
3334
- name: 📨 Push to NuGet
3435
run: dotnet nuget push **/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

src/AutomationPipelines/AutomationPipelines.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<Pack>True</Pack>
2323
<PackagePath>\</PackagePath>
2424
</None>
25+
<None Include="..\..\README.md">
26+
<Pack>True</Pack>
27+
<PackagePath>\</PackagePath>
28+
</None>
2529
</ItemGroup>
2630

2731
<ItemGroup>

0 commit comments

Comments
 (0)