add setRepo

This commit is contained in:
C10udburst 2022-08-08 12:11:54 +02:00
parent 5bf4201ead
commit b4e7a416ac
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {