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:
|
# Only run on pushes to main:
|
||||||
# Replace with 'on: [push]' if you need to run tests on your PR
|
# Replace with 'on: [push]' if you need to run tests on your PR
|
||||||
|
@ -8,7 +8,7 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
release_snapshot:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -23,10 +23,10 @@ jobs:
|
||||||
server-id: ossrh
|
server-id: ossrh
|
||||||
server-username: OSSRH_USERNAME
|
server-username: OSSRH_USERNAME
|
||||||
server-password: OSSRH_PASSWORD
|
server-password: OSSRH_PASSWORD
|
||||||
- name: Publish package
|
- name: release_snapshot
|
||||||
env:
|
env:
|
||||||
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||||
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
|
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
|
||||||
# Notes:
|
# Notes:
|
||||||
# - tests already run in a separate action
|
# - tests already run in a separate action (main)
|
||||||
run: mvn -B -U --fail-at-end deploy -DskipTests -DskipOllamaITs -DskipVearchITs -DskipVertexAiGeminiITs
|
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 }}
|
token: ${{ secrets.TC_CLOUD_TOKEN }}
|
||||||
|
|
||||||
- name: release
|
- 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:
|
env:
|
||||||
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
|
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
|
||||||
AZURE_OPENAI_KEY: ${{ secrets.AZURE_OPENAI_KEY }}
|
AZURE_OPENAI_KEY: ${{ secrets.AZURE_OPENAI_KEY }}
|
||||||
|
|
Loading…
Reference in New Issue