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 cd $GITHUB_WORKSPACE/src
chmod +x gradlew chmod +x gradlew
./gradlew make makePluginsJson ./gradlew make makePluginsJson
cp **/build/*.zip $GITHUB_WORKSPACE/builds cp **/build/*.cs3 $GITHUB_WORKSPACE/builds
cp build/plugins.json $GITHUB_WORKSPACE/builds cp build/plugins.json $GITHUB_WORKSPACE/builds
- name: Push builds - name: Push builds

View file

@ -15,5 +15,5 @@ description = "Lorem Ipsum"
status = 1 status = 1
// Set to true to get an 18+ symbol next to the plugin // 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") apply(plugin = "com.lagradost.cloudstream3.gradle")
cloudstream { cloudstream {
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
setRepo(System.getenv("GITHUB_REPOSITORY") ?: "user/repo")
} }
android { android {