diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afb223c..af8c277 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Build with Gradle env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew clean --no-daemon + run: ./gradlew build - name: Setup semantic-release run: npm install - name: Release diff --git a/build.gradle.kts b/build.gradle.kts index ec2f544..0542237 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,10 +31,6 @@ tasks { expand("projectVersion" to project.version) } - build { - dependsOn(shadowJar) - } - shadowJar { manifest { attributes("Main-Class" to "app.revanced.cli.command.MainCommandKt") @@ -46,6 +42,10 @@ tasks { } } + build { + dependsOn(shadowJar) + } + // Dummy task to fix the Gradle semantic-release plugin. // Remove this if you forked it to support building only. // Tracking issue: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435