Skip to content

Update Gradle Wrapper from 8.8 to 8.9 #118

Update Gradle Wrapper from 8.8 to 8.9

Update Gradle Wrapper from 8.8 to 8.9 #118

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 }}