build(deps): bump kotlin from 2.0.20 to 2.0.21 #132
This file contains 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: Build Pull Request | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build-pull-request: | |
name: Build and Publish Pull Request | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Detect modified subprojects | |
id: detect-modified-subprojects | |
uses: ./.github/actions/detect-modified-projects | |
with: | |
project_prefixes: ktor-client,ktor-server | |
- name: Execute gradle tasks on ${{ steps.detect-modified-subprojects.outputs.modified_projects }} | |
id: execute-gradle-tasks-on-projects | |
uses: ./.github/actions/execute-gradle-tasks-on-projects | |
with: | |
projects: ${{ steps.detect-modified-subprojects.outputs.modified_projects }} | |
tasks: clean,build | |
execute_on_root_anyway: true | |
env: | |
GPR_USER: ${{ vars.GPR_USER }} | |
GPR_READ_TOKEN: ${{ secrets.GPR_READ_TOKEN }} | |
GPR_WRITE_TOKEN: ${{ secrets.GPR_WRITE_TOKEN }} | |
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
SIGNING_KEY_ARMOR_BASE64: ${{ secrets.SIGNING_KEY_ARMOR_BASE64 }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} |