Skip to content

Commit d183827

Browse files
committed
Fix NuGet package path in GitHub Actions workflow
1 parent e0f1406 commit d183827

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/publish.yml

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

2121
- name: Restore dependencies
22-
run: dotnet restore
23-
22+
run: dotnet restore JetDatabaseReader/JetDatabaseReader.csproj
23+
2424
- name: Build
25-
run: dotnet build -c Release --no-restore
26-
25+
run: dotnet build JetDatabaseReader/JetDatabaseReader.csproj -c Release --no-restore
26+
2727
- name: Create NuGet package
28-
run: dotnet pack -c Release --no-build -o ./nupkg
29-
28+
run: dotnet pack JetDatabaseReader/JetDatabaseReader.csproj -c Release --no-build -o ./nupkg
29+
30+
- name: List files (debug)
31+
run: |
32+
echo "Contents of nupkg folder:"
33+
dir nupkg
34+
3035
- name: Push to NuGet.org
3136
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)