From b4e7a416aca7b2b62a117f6501d579eb1e1def4b Mon Sep 17 00:00:00 2001 From: C10udburst <18114966+C10udburst@users.noreply.github.com> Date: Mon, 8 Aug 2022 12:11:54 +0200 Subject: [PATCH] add setRepo --- .github/workflows/build.yml | 2 +- ExampleProvider/build.gradle.kts | 2 +- build.gradle.kts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcd0400..4b8abd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: cd $GITHUB_WORKSPACE/src chmod +x gradlew ./gradlew make makePluginsJson - cp **/build/*.zip $GITHUB_WORKSPACE/builds + cp **/build/*.cs3 $GITHUB_WORKSPACE/builds cp build/plugins.json $GITHUB_WORKSPACE/builds - name: Push builds diff --git a/ExampleProvider/build.gradle.kts b/ExampleProvider/build.gradle.kts index a83c6a6..a5a8f38 100644 --- a/ExampleProvider/build.gradle.kts +++ b/ExampleProvider/build.gradle.kts @@ -15,5 +15,5 @@ description = "Lorem Ipsum" status = 1 // Set to true to get an 18+ symbol next to the plugin -// isAdult = false // TODO: fix +// adult = false // TODO: fix diff --git a/build.gradle.kts b/build.gradle.kts index 7099e92..6e93698 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,8 @@ subprojects { apply(plugin = "com.lagradost.cloudstream3.gradle") cloudstream { - + // when running through github workflow, GITHUB_REPOSITORY should contain current repository name + setRepo(System.getenv("GITHUB_REPOSITORY") ?: "user/repo") } android {