Skip to content

Merge remote-tracking branch 'origin/main' #12

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #12

Workflow file for this run

name: 'Build Maven Sync'
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
permissions:
contents: 'write'
env:
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: 'false'
ORG_GRADLE_PROJECT_signingInMemoryKey: '${{ secrets.SIGNING_KEY }}'
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: '${{ secrets.SIGNING_PASSWORD }}'
ORG_GRADLE_PROJECT_mavenCentralUsername: '${{ secrets.SONATYPEUSERNAME }}'
ORG_GRADLE_PROJECT_mavenCentralPassword: '${{ secrets.SONATYPEPASSWORD }}'
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
# https://github.com/hmarr/debug-action
- uses: 'hmarr/debug-action@cd1afbd7852b7ad7b1b7a9a1b03efebd3b0a1820' # v3.0.0
# https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions
- uses: 'zgosalvez/github-actions-ensure-sha-pinned-actions@6ae615f6475d2ede5ad88bea6baa7a1d5e93ffaa' # v3.0.19
# https://github.com/actions/checkout
- name: 'checkout'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
# https://github.com/actions/setup-java
- name: 'Set up JDK'
uses: 'actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b' # v4.6.0
with:
java-version: '21'
distribution: 'temurin'
check-latest: 'true'
# https://github.com/gradle/actions/tree/main/setup-gradle
- name: 'Set up Gradle'
uses: "gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6" # v4.2.2
# https://github.com/gradle/actions/tree/main/dependency-submission
- name: "Generate and submit dependency graph"
uses: "gradle/actions/dependency-submission@0bdd871935719febd78681f197cd39af5b6e16a6" # v4.2.2
with:
cache-cleanup: 'never'
build-scan-publish: false
dependency-graph-exclude-projects: "^:(build-logic|buildSrc|.*[Tt]test.*)"
dependency-graph-exclude-configurations: ".*[Tt]est.*Classpath"
- name: 'Build'
run: './gradlew build --info --scan --stacktrace'
- name: 'Publish'
run: './gradlew publish --info --stacktrace --no-configuration-cache'