Skip to content

Commit

Permalink
workflow: free up some storage to allow images to download successfully
Browse files Browse the repository at this point in the history
github has a limited amount of storage which we're exceeding so the run fails after adding one more device so lets free up some storage for it to not fail using the free-disk-space workflow

this workflow has been tested and proven to work on manjaro which generates a lot of images for a lot iof devices which also had this storage issue.
  • Loading branch information
FakeShell committed Jun 19, 2023
1 parent b738b9c commit 3cf6398
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}${{ steps.create_nightly.outputs.upload_url }}

steps:
- name: Free up some storage
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true

- name: Delete old nightly release
uses: dev-drprasad/[email protected]
if: startsWith(github.ref, 'refs/tags/droidian') != true
Expand Down

0 comments on commit 3cf6398

Please sign in to comment.