Skip to content

fix(deps): update adventureversion to v4.17.0 #183

fix(deps): update adventureversion to v4.17.0

fix(deps): update adventureversion to v4.17.0 #183

Workflow file for this run

name: Build
on: [ push ]
env:
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_OSSRH_DEPLOYER }}
SONATYPE_TOKEN: ${{ secrets.SONATYPE_OSSRH_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew test build --no-daemon
- name: Publish to Sonatype
if: github.ref == 'refs/heads/master'
env:
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publish --no-daemon