Skip to content

Commit

Permalink
fix: Update workflow to correctly upload release and publish to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Oct 7, 2024
1 parent dc9a174 commit 82058a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:

- name: Run gradle build and publish
run: >
gradle shadowDistZip
gradle publish shadowDistZip
-PmineinabyssMavenUsername=${{ secrets.MAVEN_PUBLISH_USERNAME }} -PmineinabyssMavenPassword=${{ secrets.MAVEN_PUBLISH_PASSWORD }}
- uses: MineInAbyss/publish-action@develop
with:
run-gradle-build: false
release-files: |
build/distributions/keepup-shadow*.zip
keepup/cli/build/distributions/keepup-shadow*.zip
7 changes: 5 additions & 2 deletions keepup-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.kotlinJvm)
alias(libs.plugins.kotlinx.serialization)
alias(idofrontLibs.plugins.mia.publication)
}

dependencies {
Expand All @@ -12,8 +13,10 @@ dependencies {
implementation(libs.ktor.client.core)
implementation(libs.ktor.client.cio)
implementation(libs.mordant)
// implementation(libs.clikt)
// implementation(libs.slf4j)
implementation("io.pebbletemplates:pebble:3.2.2")
}

java {
withSourcesJar()
withJavadocJar()
}

0 comments on commit 82058a8

Please sign in to comment.