Skip to content

feat: Batch update points (#16) #17

feat: Batch update points (#16)

feat: Batch update points (#16) #17

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
tags:
- 'v*'
permissions:
contents: write
checks: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: build
- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: test
- name: Test Results
uses: mikepenz/action-junit-report@v4
if: always()
with:
fail_on_failure: true
require_tests: true
report_paths: '**/build/test-results/test/TEST-*.xml'
- name: Upload Jars
uses: actions/upload-artifact@v3
with:
name: QdrantJava
path: build/libs
publish:
runs-on: ubuntu-latest
needs: build
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Publish package
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
- name: Deploy javadoc to Github Pages
uses: dev-vince/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
java-version: "17"
java-distribution: "adopt" # The distributor of the target JDK. See https://github.com/actions/setup-java for more information.
project: gradle # The project type.
branch: "gh-pages" # The branch for the javadoc contents.