Skip to content

Commit 1aab1e6

Browse files
committed
Create the nupkg in the current directory
So that we avoid subdirectories in the artifacts. Maybe there's a more elegant solution like in TeamCity but I couldn't figure it out.
1 parent b97bec6 commit 1aab1e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
- run: dotnet restore --verbosity normal
2727
- run: dotnet build --verbosity normal
2828
- run: dotnet test --no-build --verbosity normal
29-
- run: dotnet pack --no-build --verbosity normal
29+
- run: dotnet pack --output . --no-build --verbosity normal
3030
id: dotnet-pack
3131
- uses: actions/upload-artifact@v2
3232
with:
3333
name: nuget-package-${{ matrix.os }}
34-
path: "**/*.nupkg"
34+
path: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
3535
publish-release:
3636
runs-on: macos-latest
3737
needs: package

0 commit comments

Comments
 (0)