Skip to content

chore(deps): update dependency gradle to v8.12 #128

chore(deps): update dependency gradle to v8.12

chore(deps): update dependency gradle to v8.12 #128

Workflow file for this run

name: Validate PR
on:
pull_request:
branches:
- 'master'
jobs:
build_project:
runs-on: macos-latest
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{secrets.SONATYPE_NEXUS_USERNAME}}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{secrets.SONATYPE_NEXUS_PASSWORD}}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{secrets.SIGNING_SECRET_KEY_RING}}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{secrets.SIGNING_KEY_ID}}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{secrets.SIGNING_PASSWORD}}
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
with:
fetch-tags: true
fetch-depth: 0
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Set version
run: |
VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
major=$(echo $VERSION | cut -d'.' -f1)
minor=$(echo $VERSION | cut -d'.' -f2)
fix=$(echo $VERSION | cut -d'.' -f3)
echo "LIBRARY_VERSION=$major.$minor.$(($fix + 1))-SNAPSHOT-BUILD-${{ github.run_id }}" >> "$GITHUB_ENV"
- name: Build
run: |
./gradlew buildAndPublish --no-daemon