Skip to content

Fixes branch descriptor. #1

Fixes branch descriptor.

Fixes branch descriptor. #1

name: Publish vitrivr Engine artifacts to the OSS Snapshot Repository
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21.0.3
server-id: maven
- id: publish-gradle
name: Publish package to the OSS Snapshot Repository
run: gradle publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}