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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user