Skip to content

Commit

Permalink
implemented contains
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Aug 7, 2024
1 parent a150b7e commit e31a27f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4

- name: Rust compilation prerequisites (Ubuntu)
if: ${{ matrix.os }} === "ubuntu-latest"
if: contains("ubuntu", ${{ matrix.os }})
run: |
sudo apt update
sudo apt install -y \
Expand All @@ -30,12 +30,12 @@ jobs:
rustup component add rustfmt clippy rust-src
- name: Install Cargo (MacOS)
if: ${{ matrix.os }} === "macos-lates"
if: contains("macos", ${{ matrix.os }})
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: ${{ matrix.os }} === "ubuntu-latest"
if: contains("ubuntu", ${{ matrix.os }})
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
with:
android: true # This alone is a 12 GB save.
Expand Down

0 comments on commit e31a27f

Please sign in to comment.