Skip to content

Merge pull request #1093 from o-shevchenko/maxInboundMetadataSize_global #318

Merge pull request #1093 from o-shevchenko/maxInboundMetadataSize_global

Merge pull request #1093 from o-shevchenko/maxInboundMetadataSize_global #318

Workflow file for this run

name: Build master branch
on:
push:
branches:
- master
jobs:
build:
name: Build on java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: ['17']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3
- name: Set up java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
- name: Decrypt file
run: openssl aes-256-cbc -K ${{ secrets.ENCRYPTED_KEY }} -iv ${{ secrets.ENCRYPTED_IV }} -in private.key.enc -out ./private.key -d && gpg --batch --import ./private.key || echo
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: --scan --stacktrace --warning-mode=all build
- name: Deploy with Gradle
if: ${{ matrix.java == '17' }}
uses: gradle/actions/setup-gradle@v3
with:
arguments: --scan publish -x check -Psigning.gnupg.executable=gpg -Psigning.gnupg.keyName=${{ secrets.GPG_NAME }} -Psigning.gnupg.passphrase=${{ secrets.GPG_PASSWORD }}
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}