소스 검색

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 4 달 전
부모
커밋
5eb11ba070
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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