Fixed snapshot release (#650)

This commit is contained in:
LangChain4j 2024-02-21 07:56:24 +01:00 committed by GitHub
parent 245878d606
commit 9d4234342e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
name: Snapshot Releases
name: release_snapshot
# Only run on pushes to main:
# Replace with 'on: [push]' if you need to run tests on your PR
@ -8,7 +8,7 @@ on:
- main
jobs:
publish:
release_snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -23,10 +23,10 @@ jobs:
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: Publish package
- name: release_snapshot
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# Notes:
# - tests already run in a separate action
run: mvn -B -U --fail-at-end deploy -DskipTests -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs
# - tests already run in a separate action (main)
run: mvn -B -U --fail-at-end -DskipTests -DskipLocalAiITs -DskipMongoDbAtlasITs -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs clean deploy

View File

@ -35,7 +35,7 @@ jobs:
token: ${{ secrets.TC_CLOUD_TOKEN }}
- name: release
run: mvn -B -U --fail-at-end -DskipLocalAiITs=true -DskipMongoDbAtlasITs=true -DskipOllamaITs=true -DskipVearchITs=true -DskipVertexAiGeminiITs=true -Psign clean deploy
run: mvn -B -U --fail-at-end -DskipLocalAiITs -DskipMongoDbAtlasITs -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs -Psign clean deploy
env:
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
AZURE_OPENAI_KEY: ${{ secrets.AZURE_OPENAI_KEY }}