Skip to content

Commit 2cdc4fc

Browse files
committed
Updated CI file. moved pack command into publish job. updated README.md path in csproj file
1 parent 69b6ba8 commit 2cdc4fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
dotnet-version: 8.x
1010
- run: dotnet build --configuration Release
1111
- run: dotnet test
12-
- run: dotnet pack Stegosaurus/Stegosaurus.csproj --configuration Release --output nupkg
1312

1413
publish:
1514
needs: build-and-test
@@ -20,4 +19,5 @@ jobs:
2019
- uses: actions/setup-dotnet@v3
2120
with:
2221
dotnet-version: 8.x
22+
- run: dotnet pack Stegosaurus/Stegosaurus.csproj --configuration Release --output nupkg
2323
- run: dotnet nuget push Stegosaurus/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

Stegosaurus/Stegosaurus.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</PropertyGroup>
2323

2424
<PropertyGroup>
25-
<PackageReadmeFile>../README.md</PackageReadmeFile>
25+
<PackageReadmeFile>README.md</PackageReadmeFile>
2626
</PropertyGroup>
2727

2828
<ItemGroup>

0 commit comments

Comments
 (0)