Skip to content

Commit f63bc81

Browse files
authored
Merge branch 'main' into 158-support-resource-links
2 parents d4020fe + 1ac00b1 commit f63bc81

File tree

3 files changed

+2
-128
lines changed

3 files changed

+2
-128
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ jobs:
4040
if: always()
4141
uses: actions/upload-artifact@v4
4242
with:
43-
name: junit-results
43+
name: reports
4444
path: |
45-
**/build/test-results/test/*.xml
46-
build/reports
45+
**/build/reports/
4746
4847
- name: Disable Auto-Merge on Fail
4948
if: failure() && github.event_name == 'pull_request'

.github/workflows/gradle-publish.yml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -66,70 +66,3 @@ jobs:
6666
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
6868
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
69-
70-
- name: Query Central Portal for validation errors
71-
if: failure()
72-
shell: bash
73-
env:
74-
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
75-
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
76-
run: |
77-
set -euo pipefail
78-
79-
OUTPUT_PROPS="build/jreleaser/output.properties"
80-
81-
if [[ ! -f "$OUTPUT_PROPS" ]]; then
82-
echo "::error title=File Missing::The file '$OUTPUT_PROPS' does not exist."
83-
exit 1
84-
fi
85-
86-
DEPLOY_ID=$(grep '^deploymentId=' "$OUTPUT_PROPS" | cut -d= -f2 || true)
87-
if [[ -z "$DEPLOY_ID" ]]; then
88-
echo "::error title=Missing Deployment ID::The 'deploymentId' key was not found in '$OUTPUT_PROPS'."
89-
exit 1
90-
fi
91-
92-
echo "Portal deploymentId: $DEPLOY_ID"
93-
94-
if [ -z "$OSSRH_USERNAME" ]; then
95-
echo "::error title='OSSRH_USERNAME' is not set."
96-
exit 1
97-
fi
98-
99-
if [ -z "$OSSRH_TOKEN" ]; then
100-
echo "::error title='OSSRH_TOKEN' is not set."
101-
exit 1
102-
fi
103-
104-
AUTH=$(printf "%s:%s" "$OSSRH_USERNAME" "$OSSRH_TOKEN" | base64)
105-
echo "::add-mask::$AUTH"
106-
107-
STATUS_JSON=$(curl -sS \
108-
-H "Authorization: Bearer $AUTH" \
109-
-H "Content-Type: application/json" \
110-
-X POST \
111-
"https://central.sonatype.com/api/v1/publisher/status?id=$DEPLOY_ID")
112-
113-
echo "$STATUS_JSON" | jq .
114-
115-
echo "$STATUS_JSON" | jq -r '.errors[]?.message' |
116-
while read -r MSG; do
117-
echo "::error title=Sonatype validation::$MSG"
118-
done
119-
120-
{
121-
echo "### Sonatype Central Portal validation result"
122-
echo
123-
echo '```json'
124-
echo "$STATUS_JSON"
125-
echo '```'
126-
} >> "$GITHUB_STEP_SUMMARY"
127-
128-
- name: Upload JReleaser artefacts
129-
if: always()
130-
uses: actions/upload-artifact@v4
131-
with:
132-
name: jreleaser-logs
133-
path: |
134-
build/jreleaser/trace.log
135-
build/jreleaser/output.properties

.github/workflows/publish-client-and-server.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)