Skip to content

Commit

Permalink
chore: LinuxのCUDA版にjlumbroso/free-disk-spaceを導入 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Aug 3, 2024
1 parent bc8e892 commit 66dfb37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ jobs:
path: build/
key: ${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-${{ hashFiles('matrix.json') }}

- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
if: steps.cache-build-result.outputs.cache-hit != 'true' && runner.os == 'Linux' && contains(matrix.build_opts, '--use_cuda')
with:
tool-cache: false
large-packages: false
swap-storage: false

- name: Install tree
if: steps.cache-build-result.outputs.cache-hit != 'true' && runner.os == 'Windows'
Expand Down

0 comments on commit 66dfb37

Please sign in to comment.