Skip to content

Commit e27debd

Browse files
author
RiskyN
committed
isolated build
1 parent 5861559 commit e27debd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
- name: Build Plugins
4444
run: |
4545
cd $GITHUB_WORKSPACE/src
46+
# Dynamically enable all plugins by clearing disabled list in settings.gradle.kts
47+
python3 -c "content = open('settings.gradle.kts').read(); open('settings.gradle.kts', 'w').write(content.replace('val disabled = listOf<String>(\"AnimeVerse\", \"PikaHD\")', 'val disabled = listOf<String>()'))"
4648
chmod +x gradlew
4749
./gradlew make makePluginsJson
4850
cp **/build/*.cs3 $GITHUB_WORKSPACE/builds

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rootProject.name = "CloudstreamPlugins"
33
// This file sets what projects are included.
44
// All new projects should get automatically included unless specified in the "disabled" variable.
55

6-
val disabled = listOf<String>()
6+
val disabled = listOf<String>("AnimeVerse", "PikaHD")
77

88
File(rootDir, ".").eachDir { dir ->
99
if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {

0 commit comments

Comments
 (0)