Skip to content

Aigentic 27 improve and test agentexecutor (#10) #41

Aigentic 27 improve and test agentexecutor (#10)

Aigentic 27 improve and test agentexecutor (#10) #41

Workflow file for this run

name: Deploy to central
on:
push:
branches: [ "main" ]
permissions:
contents: read
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
jobs:
build:
uses: ./.github/workflows/build.yml
deploy:
needs: build
strategy:
matrix:
include:
- target: publishKotlinMultiplatformPublicationToSonatypeRepository
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- uses: actions/cache@v3
with:
path: |
~/.konan
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Gradle publish
uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f
with:
arguments: |
publishToSonatype
closeAndReleaseSonatypeStagingRepository
--no-configuration-cache