gowalk-cicd 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -103,6 +103,22 @@ in Play Console; every later run detects API readiness and uploads to the
103
103
  `internal` track automatically. Override the track or status with repository
104
104
  variables `GOOGLE_PLAY_TRACK` and `GOOGLE_PLAY_STATUS`.
105
105
 
106
+ ### Runner disk space
107
+
108
+ An `ubuntu-24.04` runner leaves roughly 14 GB free on `/`, and a release Flutter
109
+ build — Gradle caches, build intermediates, and a 100–200 MB AAB — does not
110
+ reliably fit. The failure surfaces far from its cause:
111
+
112
+ ```
113
+ > java.io.IOException: No space left on device
114
+ zip I/O error: No space left on device
115
+ ```
116
+
117
+ The Android job removes the preinstalled toolchains a Flutter build never uses
118
+ (.NET, the Android NDK, GHC, PowerShell, Swift, Chromium, global node modules)
119
+ and prunes Docker images, reclaiming roughly 25 GB in a few seconds. It prints
120
+ `df -h /` before and after. Linux only; skipped in Bitrise mode.
121
+
106
122
  ### Private git dependencies (Flutter)
107
123
 
108
124
  A Flutter app can depend on private git packages:
@@ -1 +1 @@
1
- 1.0.18
1
+ 1.0.19
@@ -1 +1 @@
1
- 1.0.18
1
+ 1.0.19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -130,6 +130,22 @@ jobs:
130
130
  else
131
131
  echo "enabled=false" >> "$GITHUB_OUTPUT"
132
132
  fi
133
+ # A release Flutter build (Gradle caches + intermediates + a 100-200 MB AAB)
134
+ # does not fit in the ~14 GB an ubuntu runner leaves free on /, and the
135
+ # failure surfaces far from its cause: "No space left on device" out of
136
+ # aapt2, zip, or Gradle's own cache writer. Reclaiming the preinstalled
137
+ # toolchains this build will never use buys ~25 GB and costs a few seconds.
138
+ - name: Free runner disk space
139
+ if: ${{ steps.mode.outputs.mode == 'local' && runner.os == 'Linux' }}
140
+ shell: bash
141
+ run: |
142
+ echo "Before:"; df -h / | tail -1
143
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android/sdk/ndk \
144
+ /opt/ghc /usr/local/.ghcup /usr/local/share/powershell \
145
+ /usr/share/swift /usr/local/share/chromium \
146
+ /usr/local/lib/node_modules 2>/dev/null || true
147
+ sudo docker image prune --all --force >/dev/null 2>&1 || true
148
+ echo "After:"; df -h / | tail -1
133
149
  - name: Set up Java
134
150
  if: ${{ steps.mode.outputs.mode == 'local' }}
135
151
  uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5