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

Upload failing #235

Closed
loiccoyle opened this issue Jul 10, 2022 · 1 comment
Closed

Upload failing #235

loiccoyle opened this issue Jul 10, 2022 · 1 comment

Comments

@loiccoyle
Copy link

I'm trying to use this action to upload the result of an action to a repository.

...
      - name: Upload images to loiccoyle/pi-gen
        uses: ncipollo/release-action@v1
        if: startsWith(github.event.inputs.repo_ref, 'refs/tags/')
        with:
          repo: pi-gen
          owner: loiccoyle
          token: ${{ secrets.ACCESS_TOKEN }}
          artifacts: deploy/*
          tag: ${{ github.event.inputs.repo_ref }}

The deploy directory contains 2 files, a small text file and a large disk img file roughly 800Mb in size.
The text file gets uploaded but the upload of the larger file fails with the following output:

Run ncipollo/release-action@v1
  with:
    repo: pi-gen
    owner: loiccoyle
    token: ***
    artifacts: deploy/*
    tag: refs/tags/test
    generateReleaseNotes: false
    omitBody: false
    omitBodyDuringUpdate: false
    omitDraftDuringUpdate: false
    omitName: false
    omitNameDuringUpdate: false
    omitPrereleaseDuringUpdate: false
    removeArtifacts: false
    replacesArtifacts: true
/home/pi/actions-runner/externals/node12/bin/node[7953]: ../src/env-inl.h:949:char* node::Environment::Allocate(size_t): Assertion `(ret) != (nullptr)' failed.

I can upload the disk img file manually with no issue though.

Any insight would be appreciated.

@ncipollo
Copy link
Owner

Looks like the file you are trying to upload might be too large. It's triggering an internal exception withing node. See nodejs/node#32598.

@ncipollo ncipollo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2022
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

2 participants