Skip to content

Commit 8e052a1

Browse files
committed
[ci] Fixes out of diskspace issue
1 parent 2f4ebee commit 8e052a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/native_jni_s3_pytorch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ jobs:
136136
echo $PYTORCH_VERSION
137137
./gradlew :engines:pytorch:pytorch-native:compileJNI -Pprecxx11 -Ppt_version=$PYTORCH_VERSION
138138
./gradlew -Pjni -Ppt_version=$PYTORCH_VERSION :integration:test "-Dai.djl.default_engine=PyTorch"
139-
./gradlew :engines:pytorch:pytorch-native:cleanJNI
139+
./gradlew :engines:pytorch:pytorch-native:cleanJNI :clean
140+
rm -rf ~/.djl.ai
140141
./gradlew :engines:pytorch:pytorch-native:compileJNI -Pcu11 -Pprecxx11 -Ppt_version=$PYTORCH_VERSION
141142
- name: Configure AWS Credentials
142143
uses: aws-actions/configure-aws-credentials@v1-node16

0 commit comments

Comments
 (0)