Fixed snapshot release (#650)
This commit is contained in:
parent
245878d606
commit
9d4234342e
|
@ -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
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue