Skip to content

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

Merge remote-tracking branch 'origin/main'

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

Workflow file for this run

name: 'Build KProcess'
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@ba37328d4ea95eaf8b3bd6c6cef308f709a5f2ec' # v3.0.3
# https://github.com/actions/checkout
- name: 'checkout'
uses: 'actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633' # v4.1.2
# 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@b231772637bb498f11fdbc86052b6e8a8dc9fc92' # v2.1.2
# https://github.com/gradle/actions/tree/main/setup-gradle
- name: 'Set up Gradle'
uses: 'gradle/actions/setup-gradle@e24011a3b5db78bd5ab798036042d9312002f252' # v3.2.0
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 publishAllPublicationsToMavenCentralRepository --info --stacktrace --no-configuration-cache'