@@ -47,10 +47,10 @@ jobs:
4747 - name : Test
4848 run : dotnet test --no-build --no-restore -c Release --verbosity normal --logger trx --results-directory TestResults
4949 - name : E2E Tests
50- run : pwsh test/e2e/run-e2e-tests.ps1 -ResultsDirectory TestResults/E2E -Logger trx
50+ run : pwsh test/e2e/run-e2e-tests.ps1 -ResultsDirectory TestResults/E2E -Logger trx -PackageOutputDirectory artifacts/e2e
5151 - name : Pack
5252 run : >
53- dotnet pack src/AttributedDI/AttributedDI.csproj --no-build --no-restore -c Release -o artifacts
53+ dotnet pack src/AttributedDI/AttributedDI.csproj --no-build --no-restore -c Release -o artifacts/release
5454 -p:PackageVersion="${{ steps.release.outputs.version }}"
5555 -p:PackageReleaseNotes="https://github.com/dmytroett/AttributedDI/blob/main/CHANGELOG.md"
5656 -p:ContinuousIntegrationBuild=true
@@ -64,19 +64,19 @@ jobs:
6464 uses : actions/upload-artifact@v4
6565 with :
6666 name : packages
67- path : artifacts/*.nupkg
67+ path : artifacts/release/ *.nupkg
6868 - name : Upload Symbol Packages
6969 uses : actions/upload-artifact@v4
7070 with :
7171 name : symbols
72- path : artifacts/*.snupkg
72+ path : artifacts/release/ *.snupkg
7373 # - name: Create GitHub Release
7474 # uses: softprops/action-gh-release@v2
7575 # with:
7676 # body_path: artifacts/release-notes.md
7777 # files: |
78- # artifacts/*.nupkg
79- # artifacts/*.snupkg
78+ # artifacts/release/ *.nupkg
79+ # artifacts/release/ *.snupkg
8080 - name : NuGet Login (Trusted Publishing)
8181 if : ${{ env.NUGET_USER != '' }}
8282 id : nuget_login
8585 user : ${{ env.NUGET_USER }}
8686 # - name: Publish to NuGet
8787 # if: ${{ env.NUGET_USER != '' }}
88- # run: dotnet nuget push "artifacts/*.nupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
88+ # run: dotnet nuget push "artifacts/release/ *.nupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
8989 # - name: Publish symbols to NuGet
9090 # if: ${{ env.NUGET_USER != '' }}
91- # run: dotnet nuget push "artifacts/*.snupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
91+ # run: dotnet nuget push "artifacts/release/ *.snupkg" --api-key "${{ steps.nuget_login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments