Quellcode durchsuchen

Expand Linux disk for 3p package environments (#278)

Adds a disk resizing workflow to the packaging environment. This will
increase the root disk size to 20GB and remove non-essential packages

Signed-off-by: Mike Chang <[email protected]>
Mike Chang vor 6 Monaten
Ursprung
Commit
5eb11ba070
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      .github/workflows/build-package.yaml

+ 10 - 0
.github/workflows/build-package.yaml

@@ -135,6 +135,16 @@ jobs:
       run: |
         git config --global core.longpaths true
         echo "uid_gid=$(id -u):$(id -g)" >> $GITHUB_OUTPUT
+
+    - name: Expand disk size for Linux
+      uses: easimon/maximize-build-space@v10
+      if: runner.os == 'Linux'
+      with:
+        root-reserve-mb: 20000
+        swap-size-mb: 200
+        remove-dotnet: true
+        remove-haskell: true
+        remove-codeql: true
       
     - name: Checkout 3P source repo
       uses: actions/checkout@v4