File tree Expand file tree Collapse file tree 5 files changed +29
-4746
lines changed Expand file tree Collapse file tree 5 files changed +29
-4746
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+ jobs :
10+ ci :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : halo-sigs/reusable-workflows/plugin-setup-env@v3
15+ with :
16+ node-version : 22
17+ pnpm-version : 10
18+ java-version : 21
19+ - name : Install dependencies
20+ run : pnpm install
21+ - name : Create a plugin
22+ run : node index.js build/my-plugin --name=my-plugin --domain=run.halo.plugin --author=halo --uiTool=rsbuild
23+ - name : Build the plugin
24+ run : cd build/my-plugin && ./gradlew build
Original file line number Diff line number Diff line change @@ -37,12 +37,14 @@ tasks.withType(JavaCompile).configureEach {
3737tasks.register('processUiResources', Copy) {
3838 from project(':ui').tasks.named('buildFrontend')
3939 into layout.buildDirectory.dir('resources/main/console')
40+ shouldRunAfter tasks.named('processResources')
4041}
4142
42- tasks.named('processResources', ProcessResources ) {
43+ tasks.named('classes' ) {
4344 dependsOn tasks.named('processUiResources')
4445}
4546
4647halo {
4748 version = '2.21'
4849}
50+
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.9 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.14 -bin.zip
44networkTimeout =10000
5+ validateDistributionUrl =true
56zipStoreBase =GRADLE_USER_HOME
67zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments