Skip to content

Commit 3881efd

Browse files
authored
Free up diskspace before publish (#109)
1 parent f44b4cc commit 3881efd

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Validate wrapper
4747
- name: Gradle Wrapper Validation
48-
uses: gradle/actions/wrapper-validation@v3
48+
uses: gradle/actions/wrapper-validation@v4
4949

5050
# Set up Java environment for the next steps
5151
- name: Setup Java

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
contents: write
1818
pull-requests: write
1919
steps:
20+
- name: Free up disk space
21+
run: |
22+
echo "Freeing disk space before Gradle setup..."
23+
sudo rm -rf /usr/share/dotnet /opt/ghc /opt/hostedtoolcache /usr/local/lib/android
24+
df -h
2025
2126
# Check out the current repository
2227
- name: Fetch Sources
@@ -34,6 +39,8 @@ jobs:
3439
# Setup Gradle
3540
- name: Setup Gradle
3641
uses: gradle/actions/setup-gradle@v4
42+
with:
43+
cache-disabled: true
3744

3845
# Set environment variables
3946
- name: Export Properties

0 commit comments

Comments
 (0)