Skip to content

chore: bump zgosalvez/github-actions-ensure-sha-pinned-actions (#95) #656

chore: bump zgosalvez/github-actions-ensure-sha-pinned-actions (#95)

chore: bump zgosalvez/github-actions-ensure-sha-pinned-actions (#95) #656

Workflow file for this run

name: 'Build Kotlin AWS CDK DSL'
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
env:
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: 'false'
ORG_GRADLE_PROJECT_signingKey: '${{ secrets.SIGNING_KEY }}'
ORG_GRADLE_PROJECT_signingPassword: '${{ secrets.SIGNING_PASSWORD }}'
ORG_GRADLE_PROJECT_sonatypeUsername: '${{ secrets.SONATYPEUSERNAME }}'
ORG_GRADLE_PROJECT_sonatypePassword: '${{ secrets.SONATYPEPASSWORD }}'
jobs:
build:
runs-on:
- 'xlarge_runner'
permissions:
id-token: write
contents: write
checks: write
statuses: write
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@2f2ebc6d914ab515939dc13f570f91baeb2c194c' # v3.0.6
# https://github.com/actions/checkout
- name: 'checkout'
uses: 'actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29' # v4.1.6
# https://github.com/actions/setup-java
- name: 'Set up JDK'
uses: 'actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9' # v4.2.1
with:
java-version: '17'
distribution: 'temurin'
check-latest: 'true'
# https://github.com/gradle/wrapper-validation-action
- name: 'Validate Gradle Wrapper'
uses: 'gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5' # v3.3.2
# https://github.com/gradle/actions/tree/main/setup-gradle
- name: 'Set up Gradle'
uses: 'gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43' # v3.3.2
with:
gradle-version: 'wrapper'
gradle-home-cache-includes: |-
jdks
caches
notifications
gradle-home-cache-cleanup: 'true'
dependency-graph: 'generate-and-submit'
- name: 'build'
run: './gradlew build --info --scan --stacktrace'
- name: 'publish'
run: './gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info --no-configuration-cache --stacktrace'