Add disk space cleanup action and integrate in CUDA workflow

Ignore unrelated file changes in CUDA workflow triggers to reduce
unnecessary runs
This commit is contained in:
rob thijssen
2025-09-12 11:29:06 +03:00
parent 96875e12b2
commit abd8c878f7
2 changed files with 29 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
---
name: free disk space
description: when rust compiling, free up some disk space
runs:
using: composite
steps:
- name: free disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1
with:
android: true
dotnet: false
haskell: false
large-packages: false
swap-storage: false
+14
View File
@@ -5,9 +5,21 @@ on:
push:
branches:
- cuda
paths-ignore:
- ".github/workflows/**"
- ".github/actions/**"
- "docs/**"
- "*.md"
- "LICENSE"
pull_request:
branches:
- cuda
paths-ignore:
- ".github/workflows/**"
- ".github/actions/**"
- "docs/**"
- "*.md"
- "LICENSE"
permissions:
contents: read
@@ -23,6 +35,8 @@ jobs:
sm: ["86", "89", "120"]
steps:
- uses: ./.github/actions/disk
- name: Checkout repository
uses: actions/checkout@v4