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

Step failed even artifact is found and downloaded #230

Open
vitalyk-multinarity opened this issue Feb 28, 2023 · 3 comments
Open

Step failed even artifact is found and downloaded #230

vitalyk-multinarity opened this issue Feb 28, 2023 · 3 comments

Comments

@vitalyk-multinarity
Copy link

Hi, my workflow uses this action as following:

 - name: Download artifacts Unity
        uses: dawidd6/action-download-artifact@master
        id: dw_artifacts_unity
        with:
          github_token: ${{ secrets.CI_TOKEN }}
          workflow: Unity.yml
          name: Android
          branch: ${{ env.ARTIFACT_BRANCH_UNITY }}
          workflow_conclusion: success
          repo: myorg/Unity
          check_artifacts:  true
          path: artifacts/unity

and into worklog log I see:

Run dawidd6/action-download-artifact@master
==> Repository: myorg/Unity
==> Artifact name: Android
==> Local path: artifacts/unity
==> Workflow name: Unity.yml
==> Workflow conclusion: success
==> Branch: master
==> (found) Run ID: 4292084762
==> (found) Run date: 2023-02-28T10:42:20Z
==> Artifact: [57]
==> Downloading: Android.zip (615.39 MB)
==> Extracting: Android.zip
    creating: artifacts/unity/dist/
    inflating: artifacts/unity/README.md
    inflating: artifacts/unity/dist/Android.zip

Why?

TIA, Vitaly

@dawidd6
Copy link
Owner

dawidd6 commented Aug 11, 2023

And... umm... what's wrong here?

@vitalyk-multinarity
Copy link
Author

And... umm... what's wrong here?

That step marked as failed.

@vitalyk-multinarity
Copy link
Author

Finally I understand why download step marked as failed. With debug mode active I see:

 ##[debug]Node Action run completed with exit code 137

So it seems like a memory issue. I found similar issue here softprops/action-gh-release#243.
Unfortunately I don't know JS enough and have no idea how to fix it.
My artifact about 550MB size.

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