Skip to content

Commit fc223fd

Browse files
authored
Merge pull request #29 from AkaZver/feature/update-29.07.2026-2
Fix Maven Central publishing
2 parents 4362b3d + ae4eeaf commit fc223fd

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,25 @@ jobs:
188188
- name: Create bundle
189189
run: |
190190
cd build/local-repo
191+
find . -type f -name "*.asc" -o -name "*.jar" -o -name "*.pom" | sort
191192
zip -r ../central-bundle.zip .
193+
cd ..
194+
ls -lh central-bundle.zip
195+
196+
- name: Verify bundle structure
197+
run: |
198+
echo "Bundle contents:"
199+
unzip -l build/central-bundle.zip
200+
echo ""
201+
echo "Bundle size:"
202+
ls -lh build/central-bundle.zip
192203
193204
- name: Upload to Central Portal
194205
env:
195206
SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USERNAME }}
196207
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }}
197208
run: |
198-
curl -X POST \
209+
curl --fail -v -X POST \
199210
-H "Authorization: Bearer $(echo -n ${SONATYPE_USERNAME}:${SONATYPE_PASSWORD} | base64)" \
200211
-F "file=@build/central-bundle.zip" \
201212
-F "name=mapstruct-plugin-${{ github.ref_name }}" \

0 commit comments

Comments
 (0)