File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}" \
You can’t perform that action at this time.
0 commit comments