Skip to content

Bump org.ajoberstar.reckon.settings from 0.18.0 to 0.18.1 #635

Bump org.ajoberstar.reckon.settings from 0.18.0 to 0.18.1

Bump org.ajoberstar.reckon.settings from 0.18.0 to 0.18.1 #635

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
codacy-analysis-cli:
runs-on: ubuntu-latest
name: Codacy Analysis CLI
steps:
- uses: actions/checkout@v4
- name: Run codacy-analysis-cli
uses: codacy/codacy-analysis-cli-action@master
build:
name: ${{ matrix.os }} / OpenJDK ${{ matrix.jdk }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
jdk: ['11', '17']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run codecov analysis
uses: codecov/codecov-action@v3
deploy:
if: ${{ github.event_name != 'pull_request' }}
needs: [ build, codacy-analysis-cli ]
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '11'
- name: Deploy
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }}
run: ./gradlew publish --no-daemon