From 5a4a7b158c12a208be71d03a39c8e315bf2b0eb1 Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Tue, 23 Apr 2024 18:16:58 +0900 Subject: [PATCH 1/2] Action: Remove deprecated gradle-build-action This patch removes deprecated gradle-build-action in android.yml Signed-off-by: Yelin Jeong --- .github/workflows/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a922e06..84aefe5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -25,9 +25,9 @@ jobs: distribution: 'temurin' java-version: 17 - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - with: - arguments: build + uses: gradle/actions/setup-gradle@v3 + - name: Run build + run: ./gradlew build - name: Upload nnstreamer-api aar uses: actions/upload-artifact@v4 with: From 7ce0ff317068015ab369648dbf21ac2760e1529e Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Tue, 23 Apr 2024 18:18:18 +0900 Subject: [PATCH 2/2] Gradle/externals: Remove copied gstreamer tar file This patch removes copied gstreamer tar file in external/build.gradle.kts Remained tar file causes no space left error. Signed-off-by: Yelin Jeong --- externals/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/externals/build.gradle.kts b/externals/build.gradle.kts index 0dffa59..cd39d61 100644 --- a/externals/build.gradle.kts +++ b/externals/build.gradle.kts @@ -83,6 +83,9 @@ tasks { into(gstAndroidPath) dependsOn("prepareDownloadable") + doLast { + Path("$downloadablePath/$gstTarFileName").deleteIfExists() + } } register("initGitSubmodules", GitTask::class) {