Skip to content

Commit

Permalink
Fixes for gradle and actions/delete-package-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
manami-project committed Feb 26, 2023
1 parent d323a32 commit 73fffbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
uses: actions/delete-package-versions@v4
with:
package-name: 'io.github.manamiproject.${{ github.event.repository.name }}'
package-type: 'maven'
min-versions-to-keep: 1
delete-only-pre-release-versions: 'true'
- name: 'Remove outdated releases'
uses: actions/delete-package-versions@v4
with:
package-name: 'io.github.manamiproject.${{ github.event.repository.name }}'
package-type: 'maven'
min-versions-to-keep: 5
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {

kotlin {
explicitApi()
jvmToolchain(Versions.JVM_TARGET.toInt())
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
Expand Down

0 comments on commit 73fffbd

Please sign in to comment.