Skip to content

Commit 1946967

Browse files
authored
Fixing OOM Error in the build-website Job of the CI Workflow (zio#8337)
1 parent 250aadd commit 1946967

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
runs-on: ubuntu-20.04
108108
if: ${{ ((github.event_name != 'repository_dispatch') && (github.event.action != 'update-docs')) }}
109109
steps:
110-
- name: Checkout series/2.x Branch
110+
- name: Checkout Current Branch
111111
uses: actions/checkout@v3
112112
with:
113113
fetch-depth: '0'
@@ -125,8 +125,9 @@ jobs:
125125

126126
- name: Compile Docs
127127
run: |
128-
sbt docs/mdoc
129-
sbt docs/unidoc
128+
while true; do free -h; sleep 5; done &
129+
sbt -mem 2048 docs/mdoc -verbose
130+
sbt -mem 2048 docs/unidoc -verbose
130131
131132
- name: Build The Website
132133
working-directory: ./website

0 commit comments

Comments
 (0)