Skip to content

Bump gradle-wrapper from 9.6.1 to 9.7.0 (#26) #76

Bump gradle-wrapper from 9.6.1 to 9.7.0 (#26)

Bump gradle-wrapper from 9.6.1 to 9.7.0 (#26) #76

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1
with:
fetch-depth: 1
- name: Set up JDK
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # 5.7.0
with:
distribution: 'corretto'
java-version: 17
cache: 'gradle'
- name: Clean build
run: ./gradlew clean build --info --stacktrace
- name: Publish to Gradle Plugin Portal
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
# According to https://github.com/gradle/gradle/issues/1295 we cannot pass parameters containing dots via environment,
# so we declare them explicitly as project parameters.
run: ./gradlew publishPlugin --info --stacktrace -Pgradle.publish.key="$GRADLE_PUBLISH_KEY" -Pgradle.publish.secret="$GRADLE_PUBLISH_SECRET"
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}