Skip to content

Commit

Permalink
Fix github action syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Oct 16, 2024
1 parent f6d6537 commit 204661e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash
steps:
- name: Install Dependencies for Red Hat
if: ${{ matrix.image }} != null
if: ${{ matrix.image != null }}
run: |
dnf install -y sudo git
dnf install curl -y --allowerasing || true
Expand All @@ -51,13 +51,13 @@ jobs:
git config --global --add safe.directory '*'
git submodule update --init addins/riscv-arch-test addins/verilog-ethernet
- name: Free Up Storage for Ubuntu
if: ${{ matrix.image }} == null
if: ${{ matrix.image == null }}
run: |
df -h
./.github/cli-space-cleanup.sh
df -h
- name: Free Up Storage for Red Hat
if: ${{ matrix.image }} != null
if: ${{ matrix.image != null }}
run: |
df -h
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
Expand Down

0 comments on commit 204661e

Please sign in to comment.