I am unable to upload the artifact when running GitHub Actions. #202506
Replies: 4 comments · 9 replies
-
|
The key part of the error is: Failed to CreateArtifact: Artifact storage quota has been hit. If you've already deleted all workflow artifacts, then one of the following is likely happening: Storage hasn't actually been recalculated yet. Although the message says 6–12 hours, in practice it can occasionally take longer before the quota is updated. To troubleshoot, I'd recommend: Verify the current Actions storage usage in Settings → Billing & plans → Actions (or the organization's billing page if applicable). At that point I'd open a GitHub Support ticket with: the repository name, The Node 20 deprecation warning and the punycode deprecation warning are unrelated—they don't prevent artifact uploads. The quota error is the actual failure. |
Beta Was this translation helpful? Give feedback.
-
|
Sometimes the upload step is only where the workflow stops, while the actual issue happens earlier. I'd verify that the files are being created with the expected names and in the expected location before the artifact step starts. Another thing worth checking is whether the path is being built from an environment variable or matrix value. A small typo or an unexpected value can make the action look in a directory that doesn't exist. If you can share the workflow snippet around the build and upload steps, it will be much easier to spot what's going wrong. |
Beta Was this translation helpful? Give feedback.
-
|
Based on the screenshot, the error makes more sense now. GitHub still believes your Actions storage is completely full (0.5 GB / 0.5 GB), even though you've already deleted the artifacts. A few things I'd check:
gh api repos/OWNER/REPO/actions/artifactsand, if applicable: gh cache listto make sure there are no remaining caches. If both the UI and the API show nothing, but the billing page still reports 0.5 GB after waiting a week, this doesn't look like a workflow configuration issue anymore. It looks more like the storage accounting on GitHub's side hasn't been updated correctly. In that case, I'd recommend opening a GitHub Support ticket and including: the billing screenshot showing 0.5 GB / 0.5 GB usage, That should give the support team enough information to verify whether the storage quota is stuck and reset it if necessary. |
Beta Was this translation helpful? Give feedback.
-
|
One other thing to check is your artifact retention settings. Even if you've deleted old artifacts, GitHub may not reclaim the storage immediately, and the quota update can take longer than the documented 6–12 hours. Also make sure you're checking all repositories in the organization, including archived or forked repos, since artifacts there still count toward the storage limit. If everything has been cleaned up and the quota still hasn't updated after several days, it's probably worth opening a GitHub Support ticket because the storage usage may be stuck on their side. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Other
Discussion Details
When running GitHub Actions, an error occurred while uploading the artifact. Based on the error message and the email sent by GitHub, I went to clean up all artifacts under my account across all repositories. I used an AI tool to write a Python script based on
ghto clean up repository artifacts. After running it, I waited a week and ran the action again, but I still cannot upload the artifact, and the error is exactly the same as before.2026-07-19T04:25:43.0230210Z Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run actions/upload-artifact@v4
(node:516155) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...to show where the warning was created)With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Failed to CreateArtifact: Artifact storage quota has been hit. Unable to upload any new artifacts. Usage is recalculated every 6-12 hours.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending
What is the reason for this, and how should I solve it?
purge.py
Beta Was this translation helpful? Give feedback.
All reactions