I have a GitHub workflow that creates APKs for my Flutter app. This worked fine until recently, I seem to have exhausted some kind of quota. Now when the workflow runs I get this error:
Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts
I assumed that deleting all artifacts would free up the space again so I used another workflow to achieve this:
name: 'Delete old artifacts'
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 0days
The new workflow seems to be working, I no longer see the old files in the GitHub UI. However, I still get the error when trying to run the APK workflow. Any ideas how to fix this error?
Update:
My GitHub says I have used up my included services (free version). Is there a way to undo that? Simply deleting the artifacts does not seem to be enough.
There is no way to undo. The quota is monthly, so you just have to wait for quota reset.
Github Actions (runner time) and Github Storage (artifacts) should have separate quotas.
For Github Actions, I know they are free for public repositories, so you could change your repository visibility, at least temporarily if you need it. As for Github Storage, I'm not sure if the same trick works, never tested.
Let me know and I can update the answer.