Skip to content

Commit

Permalink
use maximize-build-space for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Aug 9, 2023
1 parent 25ea83a commit 810d4a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maximize-build-disk-space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
df -h /tmp
- name: Maximize build space
uses: easimon/maximize-build-space@master
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 30720 # Required to SBOM + Goreleaser
root-reserve-mb: 35840 # Required for Goreleaser
remove-android: 'true'
remove-docker-images: 'true'
remove-dotnet: 'true'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/reusable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
packages: write # For GHCR
contents: read # Not required for public repositories, but for clarity
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 35840 # Required for Goreleaser
remove-android: 'true'
remove-docker-images: 'true'
remove-dotnet: 'true'

- name: Cosign install
uses: sigstore/cosign-installer@a5d81fb6bdbcbb3d239e864d6552820420254494

Expand Down

0 comments on commit 810d4a2

Please sign in to comment.