Skip to content

Commit bf87b9a

Browse files
committed
CI(full),CI(release): Increase pagefile to avoid OOM
1 parent 791557e commit bf87b9a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-wheels-publish.yml

+12
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ jobs:
7777
name=$(echo -n "$name" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g' | sed -e 's/\-$//')
7878
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
7979
80+
- name: "Increase pagefile to avoid OOM"
81+
if: runner.os == 'Windows'
82+
uses: al-cheb/[email protected]
83+
with:
84+
minimum-size: 8GB
85+
8086
- name: '🛠️ Add msbuild to PATH'
8187
if: runner.os == 'Windows'
8288
uses: microsoft/setup-msbuild@v2
@@ -226,6 +232,12 @@ jobs:
226232
name=$(echo -n "$name" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g' | sed -e 's/\-$//')
227233
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
228234
235+
- name: "Increase pagefile to avoid OOM"
236+
if: runner.os == 'Windows'
237+
uses: al-cheb/[email protected]
238+
with:
239+
minimum-size: 8GB
240+
229241
- name: '🛠️ Add msbuild to PATH'
230242
if: runner.os == 'Windows'
231243
uses: microsoft/setup-msbuild@v2

0 commit comments

Comments
 (0)