Skip to content

Commit

Permalink
Fix gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-muller666 committed Jul 26, 2024
1 parent d26bed5 commit dc5c7b6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
31 changes: 30 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,36 @@ jobs:
```sh
mvn install:install-file -Dfile=<path-to-jar-file> -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
<dependency>
<groupId>no.acntech.easycontainers</groupId>
<artifactId>easycontainers</artifactId>
<version>${{ needs.build-application.outputs.PROJECT_VERSION }}</version>
</dependency>
```
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

Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<revision>SNAPSHOT</revision>

<!-- Library versions -->
<spring-boot.version>3.2.2</spring-boot.version>
<kubernetes-client.version>6.13.1</kubernetes-client.version>
<docker-java.version>3.4.0</docker-java.version>
<awaitility.version>4.2.1</awaitility.version>
Expand Down

0 comments on commit dc5c7b6

Please sign in to comment.