File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 run : dotnet test --configuration ${{ env.CONFIGURATION }} --no-build --verbosity normal --filter "TestCategory=AppVeyor"
3636
3737 - name : Pack NuGet packages
38- run : dotnet pack --configuration ${{ env.CONFIGURATION }} --no-build --output ./artifacts
38+ run : dotnet pack src/AdysTech.CredentialManager/AdysTech.CredentialManager.csproj --configuration ${{ env.CONFIGURATION }} --no-build --output ./artifacts
3939
4040 - name : Upload artifacts
4141 uses : actions/upload-artifact@v4
5151
5252 - name : Publish to NuGet
5353 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
54- run : dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
54+ shell : pwsh
55+ run : |
56+ $packages = Get-ChildItem -Path ./artifacts -Filter *.nupkg
57+ foreach ($package in $packages) {
58+ dotnet nuget push $package.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
59+ }
5560 env :
5661 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments