Skip to content

Commit

Permalink
Update conda_smithy/templates/azure-pipelines-linux.yml.tmpl
Browse files Browse the repository at this point in the history
Co-authored-by: jakirkham <[email protected]>
  • Loading branch information
mikemhenry and jakirkham authored Aug 10, 2023
1 parent d8093b4 commit df00adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_smithy/templates/azure-pipelines-linux.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
df -h
displayName: Manage disk space
{%- endif %}
{%- if (azure.linux_swap_size|string).startswith("0G") %}
{%- if not (azure.linux_swap_size|string).startswith("0") %}
- script: |
sudo fallocate -l {{ azure.linux_swap_size }} /swapfile || true
sudo chmod 600 /swapfile || true
Expand Down

0 comments on commit df00adb

Please sign in to comment.