Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

0 byte download when using pgutil assets/packages download in github workflow



  • 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.


    Log in to reply
     

  • inedo-engineer

    Hi @mmaharjan_0067 ,

    I'm afraid we're at a loss here; as you noticed, it works fine on the command line - but there's just something "off" about your runner.

    The only thing we can figure is some kind of network block or interference. We don't really have a way to test/debug this any further.

    Thanks,
    Steve


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation