Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pushing packages > 2GB will fail #347

Open
benPearce1 opened this issue Jan 19, 2024 · 0 comments
Open

Pushing packages > 2GB will fail #347

benPearce1 opened this issue Jan 19, 2024 · 0 comments

Comments

@benPearce1
Copy link
Contributor

Due to a limitation in NodeJS, pushing a package file over 2GB in size will result in the following error:

Error: Error: RangeError [ERR_FS_FILE_TOO_LARGE]: File size (2202366406) is greater than 2 GiB

Workaround:

Add a step to your action to install the Octopus CLI

- name: Install Octopus CLI
   uses: OctopusDeploy/[email protected]

Then use the cli to push the package

- name: push package
   env:
     OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }}
     OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }}
   run: octopus package upload --space Default --package package.1.0.0.zip --no-prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant