Skip to content

Update dependency com.contentgrid.spring:contentgrid-spring-data-rest… #1166

Update dependency com.contentgrid.spring:contentgrid-spring-data-rest…

Update dependency com.contentgrid.spring:contentgrid-spring-data-rest… #1166

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
name: "build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Build with Gradle
run: ./gradlew build
- name: Publish
if: ${{ github.ref == 'refs/heads/main' || startswith(github.ref, 'refs/tags/') }}
run: ./gradlew publish
env:
SIGNING_PRIVATE_KEY: ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
SIGNING_PASSWORD: ${{ secrets.MAVEN_CENTRAL_GPG_PASSWORD }}
ORG_GRADLE_PROJECT_sonatype_username: ${{ secrets.SONATYPE_S01_USERNAME }}
ORG_GRADLE_PROJECT_sonatype_password: ${{ secrets.SONATYPE_S01_PASSWORD }}