From dc5c7b6a575408bf0986f60d38601598ef9ad136 Mon Sep 17 00:00:00 2001 From: Thomas Muller Date: Fri, 26 Jul 2024 12:27:25 +0200 Subject: [PATCH] Fix gh workflow --- .github/workflows/build-and-release.yml | 31 ++++++++++++++++++++++++- pom.xml | 1 - 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 3ab0d145..d958c91e 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -131,7 +131,36 @@ jobs: ```sh mvn install:install-file -Dfile= -DgroupId=no.acntech.easycontainers -DartifactId=easycontainers -Dversion=${{ needs.build-application.outputs.PROJECT_VERSION }} -Dpackaging=jar ``` - Ensure to replace the placeholders with the actual path to the JAR file, group ID, artifact ID, version, and packaging type. + Ensure to replace the placeholder with the actual path to the downloaded JAR file. + + For Gradle, add this to your `build.gradle` file's dependencies block: + ```groovy + implementation 'no.acntech.easycontainers:easycontainers:${{ needs.build-application.outputs.PROJECT_VERSION }}' + ``` + + For Maven, add this to your `pom.xml` file's dependencies block: + ```xml + + no.acntech.easycontainers + easycontainers + ${{ needs.build-application.outputs.PROJECT_VERSION }} + + ``` + + Also make sure the following necessary dependencies are added to your project: + - kubernetes-client + - docker-java + - docker-java-transport-okhttp + - awaitility + - khttp + - commons-io + - commons-lang3 + - commons-compress + - slf4j-api + - logback-classic + + See the [project pom](https://github.com/acntech/easycontainers/blob/main/pom.xml) for more information and exact versions. + draft: false prerelease: true diff --git a/pom.xml b/pom.xml index 98f06f73..af624aed 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,6 @@ SNAPSHOT - 3.2.2 6.13.1 3.4.0 4.2.1