Skip to content

Commit a5a626c

Browse files
committed
Github actions packed wrong project
1 parent 27d49e8 commit a5a626c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
dotnet-version: '8.x'
2020

2121
- name: Restore dependencies
22-
run: dotnet restore
22+
run: dotnet restore SharpVoronoiLib/SharpVoronoiLib.csproj
2323

2424
- name: Build the project
25-
run: dotnet build --configuration Release --no-restore
25+
run: dotnet build SharpVoronoiLib/SharpVoronoiLib.csproj --configuration Release --no-restore
2626

2727
- name: Pack the project
28-
run: dotnet pack --configuration Release --no-build --output ./nupkg
28+
run: dotnet pack SharpVoronoiLib/SharpVoronoiLib.csproj --configuration Release --no-build --output ./nupkg
2929

3030
- name: Publish to GitHub Packages
3131
run: dotnet nuget push ./nupkg/*.nupkg --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)