mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-09-16 03:39:05 +02:00
Update build-on-pull-request.yml
This commit is contained in:
parent
2070753c5e
commit
52d7dbd7ce
12
.github/workflows/build-on-pull-request.yml
vendored
12
.github/workflows/build-on-pull-request.yml
vendored
@ -14,8 +14,7 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -33,11 +32,18 @@ jobs:
|
|||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn --file pom.xml -U clean package
|
run: mvn --file pom.xml -U clean package
|
||||||
|
|
||||||
- name: Call run-tests.yml
|
run-tests:
|
||||||
|
needs: build
|
||||||
uses: ./.github/workflows/run-tests.yml
|
uses: ./.github/workflows/run-tests.yml
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.head_ref || github.ref_name }}
|
branch: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
|
build-docs:
|
||||||
|
needs: [build, run-tests]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user