Skip to content

Commit cae75fa

Browse files
jruauxbsbodden
authored andcommitted
cicd: Removed staging-deploy step
1 parent 0b7dc35 commit cae75fa

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

.github/workflows/version-and-release.yml

+1-34
Original file line numberDiff line numberDiff line change
@@ -36,39 +36,6 @@ jobs:
3636
- name: Build project
3737
run: mvn -Ppublication clean package -DskipTests
3838

39-
# Stage only the artifacts we want to publish (not the parent POM)
40-
- name: Stage artifacts
41-
run: |
42-
# Create staging directory
43-
mkdir -p target/staging-deploy
44-
45-
# Create a local Maven repository structure just for our modules
46-
# redis-om-spring module
47-
mkdir -p target/staging-deploy/com/redis/om/redis-om-spring/${{ steps.get_version.outputs.VERSION }}
48-
cp redis-om-spring/target/redis-om-spring-${{ steps.get_version.outputs.VERSION }}.jar \
49-
target/staging-deploy/com/redis/om/redis-om-spring/${{ steps.get_version.outputs.VERSION }}/
50-
cp redis-om-spring/target/redis-om-spring-${{ steps.get_version.outputs.VERSION }}-sources.jar \
51-
target/staging-deploy/com/redis/om/redis-om-spring/${{ steps.get_version.outputs.VERSION }}/
52-
cp redis-om-spring/target/redis-om-spring-${{ steps.get_version.outputs.VERSION }}-javadoc.jar \
53-
target/staging-deploy/com/redis/om/redis-om-spring/${{ steps.get_version.outputs.VERSION }}/
54-
cp redis-om-spring/pom.xml \
55-
target/staging-deploy/com/redis/om/redis-om-spring/${{ steps.get_version.outputs.VERSION }}/redis-om-spring-${{ steps.get_version.outputs.VERSION }}.pom
56-
57-
# redis-om-spring-ai module
58-
mkdir -p target/staging-deploy/com/redis/om/redis-om-spring-ai/${{ steps.get_version.outputs.VERSION }}
59-
cp redis-om-spring-ai/target/redis-om-spring-ai-${{ steps.get_version.outputs.VERSION }}.jar \
60-
target/staging-deploy/com/redis/om/redis-om-spring-ai/${{ steps.get_version.outputs.VERSION }}/
61-
cp redis-om-spring-ai/target/redis-om-spring-ai-${{ steps.get_version.outputs.VERSION }}-sources.jar \
62-
target/staging-deploy/com/redis/om/redis-om-spring-ai/${{ steps.get_version.outputs.VERSION }}/
63-
cp redis-om-spring-ai/target/redis-om-spring-ai-${{ steps.get_version.outputs.VERSION }}-javadoc.jar \
64-
target/staging-deploy/com/redis/om/redis-om-spring-ai/${{ steps.get_version.outputs.VERSION }}/
65-
cp redis-om-spring-ai/pom.xml \
66-
target/staging-deploy/com/redis/om/redis-om-spring-ai/${{ steps.get_version.outputs.VERSION }}/redis-om-spring-ai-${{ steps.get_version.outputs.VERSION }}.pom
67-
68-
# List staged artifacts for verification
69-
echo "Staged artifacts:"
70-
find target/staging-deploy -type f | sort
71-
7239
# Deploy with JReleaser which handles signing and publishing to Maven Central
7340
- name: Release with JReleaser
7441
uses: jreleaser/release-action@v2
@@ -104,4 +71,4 @@ jobs:
10471
name: jreleaser-output
10572
path: |
10673
out/jreleaser/trace.log
107-
out/jreleaser/output.properties
74+
out/jreleaser/output.properties

0 commit comments

Comments
 (0)