swap
This commit is contained in:
parent
0afe1965fd
commit
2ee44c4a55
2 changed files with 18 additions and 1 deletions
|
|
@ -24,6 +24,15 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Create Swap File
|
||||||
|
run: |
|
||||||
|
sudo fallocate -l 2G /swapfile || sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
|
||||||
|
sudo chmod 600 /swapfile
|
||||||
|
sudo mkswap /swapfile
|
||||||
|
sudo swapon /swapfile
|
||||||
|
sudo swapon --show
|
||||||
|
|
||||||
|
|
||||||
- name: Set up Python and dependencies
|
- name: Set up Python and dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
|
|
|
||||||
|
|
@ -68,9 +68,17 @@ jobs:
|
||||||
git config --global http.maxRequestBuffer 100M
|
git config --global http.maxRequestBuffer 100M
|
||||||
git config --global core.compression 0
|
git config --global core.compression 0
|
||||||
|
|
||||||
|
- name: Create Swap File
|
||||||
|
run: |
|
||||||
|
sudo fallocate -l 2G /swapfile || sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
|
||||||
|
sudo chmod 600 /swapfile
|
||||||
|
sudo mkswap /swapfile
|
||||||
|
sudo swapon /swapfile
|
||||||
|
sudo swapon --show
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y rsync openssh-client jq git
|
sudo apt-get update && sudo apt-get install -y rsync openssh-client jq git
|
||||||
|
|
||||||
- name: Install Flutter 3.35.5
|
- name: Install Flutter 3.35.5
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue