Skip to content

Commit

Permalink
Only clone needed submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Oct 16, 2024
1 parent 7d6e283 commit 19e15ae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Clone Necessary Submodules
run: git submodule update --init addins/riscv-arch-test
- name: Free up storage
run: |
df -h
Expand Down Expand Up @@ -73,8 +73,8 @@ jobs:
dnf install -y sudo git
dnf install curl -y --allowerasing || true
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Clone Necessary Submodules
run: git submodule update --init addins/riscv-arch-test
- name: Fix git ownership
run: git config --global --add safe.directory '*'
- name: Free up storage
Expand Down Expand Up @@ -119,8 +119,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Clone Necessary Submodules
run: git submodule update --init addins/riscv-arch-test
- name: Free up storage
run: |
df -h
Expand Down Expand Up @@ -166,8 +166,8 @@ jobs:
name=$(echo -n "${{ matrix.os }}" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g')
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Clone Necessary Submodules
run: git submodule update --init addins/riscv-arch-test
- name: Free up storage
run: |
df -h
Expand Down

0 comments on commit 19e15ae

Please sign in to comment.