Skip to content

chore: bump com.vanniktech.maven.publish (#61) #143

chore: bump com.vanniktech.maven.publish (#61)

chore: bump com.vanniktech.maven.publish (#61) #143

Workflow file for this run

name: 'kotlin-cdk-extensions'
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@40ba2d51b6b6d8695f2b6bd74e785172d4f8d00f' # v3.0.14
# https://github.com/actions/checkout
- name: 'checkout'
uses: 'actions/checkout@d632683dd7b4114ad314bca15554477dd762a938' # v4.2.0
# https://github.com/actions/setup-java
- name: 'Set up JDK'
uses: 'actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73' # v4.4.0
with:
java-version: 21
distribution: "temurin"
# https://github.com/gradle/actions/tree/main/setup-gradle
- name: 'Set up Gradle'
uses: 'gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808' # v4
with:
gradle-version: 'wrapper'
gradle-home-cache-cleanup: true
validate-wrappers: true
# https://github.com/gradle/actions/tree/main/dependency-submission
- name: "Generate and submit dependency graph"
uses: "gradle/actions/dependency-submission@d156388eb19639ec20ade50009f3d199ce1e2808" # v4
env:
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 publishAllPublicationsToMavenCentralRepository --info --stacktrace --no-configuration-cache'