Skip to content

Commit

Permalink
Refactor : update the swap script since apache does not accept the pi…
Browse files Browse the repository at this point in the history
…erotofy action (#32784)
  • Loading branch information
taojintianxia committed Sep 3, 2024
1 parent 3ac3b54 commit 6e356c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nightly-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ jobs:
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
run: size="10G" && file_swap=/swapfile_$size.img && sudo touch $file_swap && sudo chmod 600 $file_swap && sudo fallocate -l $size /$file_swap && sudo mkswap /$file_swap && sudo swapon -p 20 /$file_swap
- name: Aggregate checkstyle report
run: |
export MAVEN_OPTS='-Xmx6g -Xms6g'
Expand Down

0 comments on commit 6e356c8

Please sign in to comment.