mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
29 lines
987 B
YAML
29 lines
987 B
YAML
## This workflow will build a Java project with Maven
|
|
## For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
|
#
|
|
#name: CI - Publish to Maven Central Sonatype
|
|
#
|
|
#on:
|
|
# push:
|
|
# branches: [ main ]
|
|
#
|
|
#jobs:
|
|
# build:
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: actions/checkout@v2
|
|
# - name: Set up Maven Central Repository
|
|
# uses: actions/setup-java@v1
|
|
# with:
|
|
# java-version: 1.8
|
|
# server-id: ossrh
|
|
# server-username: MAVEN_USERNAME
|
|
# server-password: MAVEN_PASSWORD
|
|
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
|
|
# gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
|
# - name: Deploy with Maven
|
|
# run: mvn -B clean deploy -Pci-cd
|
|
# env:
|
|
# MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
|
# MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
|
|
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} |