Skip to content

Commit

Permalink
Test full workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <[email protected]>
  • Loading branch information
GumpacG committed Aug 27, 2024
1 parent 06e0818 commit 8498076
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Bundle JAR
working-directory: java
run: |
src_folder=~/.m2/repository/io/github/gumpacg/valkey-glide/${{ env.RELEASE_VERSION }}
src_folder=~/.m2/repository/io/valkey/valkey-glide/${{ env.RELEASE_VERSION }}
cd $src_folder
jar -cvf bundle.jar *
ls -ltr
Expand Down Expand Up @@ -177,9 +177,9 @@ jobs:
- name: Move files to the correct directory tree
run: |
mkdir -p build/io/github/gumpacg/valkey-glide/${{ env.RELEASE_VERSION }}
cp -a maven-files/* build/io/github/gumpacg/valkey-glide/${{ env.RELEASE_VERSION }}
rm -rf build/io/github/gumpacg/valkey-glide/${{ env.RELEASE_VERSION }}/META-INF
mkdir -p build/io/valkey/valkey-glide/${{ env.RELEASE_VERSION }}
cp -a maven-files/* build/io/valkey/valkey-glide/${{ env.RELEASE_VERSION }}
rm -rf build/io/valkey/valkey-glide/${{ env.RELEASE_VERSION }}/META-INF
cd build
zip -r ../build io
tree
Expand Down
14 changes: 8 additions & 6 deletions java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ repositories {

subprojects {
repositories {
maven {
name = "centralManualTesting"
url "https://central.sonatype.com/api/v1/publisher/deployments/download/"
credentials(HttpHeaderCredentials)
authentication {
header(HttpHeaderAuthentication)
if(HttpHeaderCredentials) {
maven {
name = "centralManualTesting"
url "https://central.sonatype.com/api/v1/publisher/deployments/download/"
credentials(HttpHeaderCredentials)
authentication {
header(HttpHeaderAuthentication)
}
}
}
mavenCentral()
Expand Down

0 comments on commit 8498076

Please sign in to comment.