forked from Mirror/ollama4j
Update workflow and improve test logging
Added environment configuration for GitHub Pages deployment in the build workflow and removed unused environment variable from test workflow. Enhanced logging in OllamaAPIIntegrationTest to include the external host address.
This commit is contained in:
6
.github/workflows/build-on-pull-request.yml
vendored
6
.github/workflows/build-on-pull-request.yml
vendored
@@ -20,6 +20,10 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Set up JDK 21
|
||||
@@ -39,8 +43,6 @@ jobs:
|
||||
uses: ./.github/workflows/run-tests.yml
|
||||
with:
|
||||
branch: ${{ github.head_ref || github.ref_name }}
|
||||
env:
|
||||
USE_EXTERNAL_OLLAMA_HOST: "false"
|
||||
|
||||
build-docs:
|
||||
name: Build Documentation
|
||||
|
||||
Reference in New Issue
Block a user