Update ci.yml

This commit is contained in:
Przemek Rzad
2024-08-08 09:13:29 +02:00
committed by GitHub
parent 670c29ab86
commit 106c604993
+4 -4
View File
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- name: Rust compilation prerequisites (Ubuntu)
if: contains(matrix.os, "ubuntu")
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y \
@@ -30,12 +30,12 @@ jobs:
rustup component add rustfmt clippy rust-src
- name: Install Cargo (MacOS)
if: contains(matrix.os, "macos")
if: contains(matrix.os, 'macos')
run: curl https://sh.rustup.rs -sSf | sh
# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
- name: Free Disk Space (Ubuntu)
if: contains(matrix.os, "ubuntu")
if: contains(matrix.os, 'ubuntu')
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
with:
android: true # This alone is a 12 GB save.
@@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: brew install docker
if: contains(matrix.os, "macos")
if: contains(matrix.os, 'macos')
# We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way.
- name: Free Disk Space (Ubuntu)