-
Notifications
You must be signed in to change notification settings - Fork 10
38 lines (30 loc) · 1.03 KB
/
verify-poms.yml
File metadata and controls
38 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Verify published POMs
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify-poms:
name: Publish to Maven local and validate POM coordinates
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 25
- name: Publish to Maven local
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8"
run: |
./gradlew --no-daemon --stacktrace --no-configuration-cache \
-PRELEASE_SIGNING_ENABLED=false \
-PsignAllPublications=false \
publishToMavenLocal
- name: Validate POM coordinates
run: ./.github/scripts/validate-published-poms.sh