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
|
||||
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
|
||||
run: |
|
||||
apt-get update -qq
|
||||
|
|
|
|||
|
|
@ -68,9 +68,17 @@ jobs:
|
|||
git config --global http.maxRequestBuffer 100M
|
||||
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
|
||||
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
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue