I have a custom github action that runs the commands explicitly:
pgutil sources add --name=Default --url=<myURL> --api-key=<myKey>
pgutil packages list --feed=<myFeed>
pgutil packages download --source=Default --feed=<myFeed> --package=7zip --version=latest
which results in:
Storing credentials. Note: Sensitive values are obfuscated but not securely encrypted.
<long list of available packages appended by latest version>
Downloading 7zip latest from <myFeed> feed...
Saving package to 7zip.24.9.0.nupkg...
Download complete (0 bytes)
a simple list shows the file is actually 0 bytes.
This happens for Mac/Windows/Linux github runners and self hosted runners.
When I run the above on my PC in powershell it downloads fine with a non-zero file size.
Is this to do with permissions, it's able to get the right version? Same thing happens with Assets.
The Api key has download permissions to the feed.