Skip to content

Commit

Permalink
ci: Simplify build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Pazaz committed Jan 4, 2024
1 parent 03a7ac0 commit cc9129e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/loader-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,8 @@ jobs:
- name: Make code compatible with old Java
run: gradle -p tools removeAnnotations

- name: Build Client
run: gradle client:build

- name: Generate Client SHA Signature
run: gradle -p tools sig

- name: Generate Loader
run: gradle loader:build
- name: Run Gradle build
run: gradle build -x :deob-annotations:build

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'

dependsOn("copySignlink")
dependsOn(":client:build")
dependsOn(":tools:sig")
}

tasks.withType(JavaExec) {
Expand Down

0 comments on commit cc9129e

Please sign in to comment.