diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 930e937..504d7fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: distribution: zulu java-version: 17 - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v4 - name: Run build with Gradle Wrapper run: make - name: Run test with Gradle Wrapper diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2634ed5..845b600 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,10 @@ name: Release on: release: types: [prereleased, released] + push: + branches: + - main + - "releases/*" jobs: @@ -35,7 +39,7 @@ jobs: # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 with: gradle-home-cache-cleanup: true diff --git a/build.gradle.kts b/build.gradle.kts index f37e4c2..58c1444 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,6 +41,7 @@ dependencies { bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') }) instrumentationTools() + zipSigner() }