mirror of
https://github.com/recloudstream/plugin-template.git
synced 2024-08-15 03:16:05 +00:00
add setRepo
This commit is contained in:
parent
5bf4201ead
commit
b4e7a416ac
3 changed files with 4 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue