chore(deps): update plugin com.gradle.develocity to v4.2.2 #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| # TODO: only for testing | |
| pull_request: | |
| env: | |
| # See https://vanniktech.github.io/gradle-maven-publish-plugin/central for the list of required properties | |
| ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.PGP_SEC }} | |
| ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.PGP_PASSWORD }} | |
| ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_PORTAL_USER }} | |
| ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PORTAL_PASSWORD }} | |
| jobs: | |
| release: | |
| name: Build and publish release | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get Kotlin version | |
| id: get-kotlin-version | |
| run: | | |
| echo "version=$(cat gradle/libs.versions.toml | grep -m1 kotlin | cut -d'=' -f2 - | tr -d ' "')" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v4 | |
| with: | |
| key: konan-${{ runner.os }}-${{ steps.get-kotlin-version.outputs.version }} | |
| path: ~/.konan | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: wrapper | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - run: ./gradlew publishToMavenCentral |