Skip to content

Upgraded baikal test data to 0.9.4 #66

Upgraded baikal test data to 0.9.4

Upgraded baikal test data to 0.9.4 #66

name: Publish snapshots
on:
push:
branches:
- 'develop'
- 'feature/refactor'
permissions: read-all
jobs:
gradle:
name: Test with Java ${{ matrix.jdk }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jdk: [ '11', '17', '19' ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- uses: eskatos/gradle-command-action@v1
with:
arguments: check -x test --console=plain --warning-mode all
publish:
name: Publish Artifact
needs: gradle
if: ${{ needs.gradle.result == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build -x test publish
env:
GPR_USERNAME: benfortuna
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}