Skip to content

Commit

Permalink
CI: Increase swap space to avoid OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
windowsair authored and jprendes committed Jul 27, 2024
1 parent 124f85f commit 5ff1975
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create swap space
shell: bash
run: |
sudo fallocate -l 15G /swapfile_new
sudo chmod 600 /swapfile_new
sudo mkswap /swapfile_new
sudo swapon /swapfile_new
sudo swapon --show
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build
Expand Down

0 comments on commit 5ff1975

Please sign in to comment.