Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Jul 3, 2024
1 parent e8bf13b commit f32502e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ runs:
load: true
target: test
- if: "${{ inputs.swap != '0' }}"
shell: bash
run: |
sudo fallocate -l "${{ inputs.swap }}" /swapfile
sudo chmod 600 /swapfile
Expand Down Expand Up @@ -101,6 +102,7 @@ runs:
context: "{{defaultContext}}:${{ inputs.path }}"
push: true
- name: "Remove swap file"
shell: bash
run: |
sudo swapoff /swapfile || true
sudo rm -f /swapfile || true

0 comments on commit f32502e

Please sign in to comment.