Skip to content

Update Gradle to 8.7 #44

Update Gradle to 8.7

Update Gradle to 8.7 #44

name: Deploy snapshot
on:
push:
branches:
- main
paths:
- '.github/workflows/deploy-snapshot.yml'
- 'build-logic/**'
- 'gradle/**'
- 'gradm-*'
- 'build.gradle.kts'
- 'gradle.properties'
- 'settings.gradle.kts'
workflow_dispatch:
jobs:
build:
if: "!startswith(github.event.head_commit.message, 'release: ')"
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: gradle
- name: Setup and execute Gradle
uses: gradle/gradle-build-action@v2
env:
NEXUS_PUBLISH_SNAPSHOT_URL: ${{ secrets.NEXUS_PUBLISH_SNAPSHOT_URL }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
with:
arguments: spotlessCheck clean publish