Update dependency gradle to v8.7 #482
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 | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
env: | |
OSS_USER: '${{ secrets.OSS_USER }}' | |
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}' | |
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Build and test with Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: build | |
# - name: Publish snapshot | |
# if: ${{ (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') }} | |
# run: ./gradlew publishToSonatype "-Psemver.stage=snapshot" | |
- name: Stop Gradle daemons | |
run: ./gradlew --stop |