Skip to content

Publish

Publish #68

Workflow file for this run

name: Publish
on:
workflow_run:
workflows: [Dev tests]
types:
- completed
permissions:
contents: read
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.workflow_run.event != 'pull_request' }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: space-orientdb-daily
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish to Space Repository
run: mvn --batch-mode -P all -DskipTests deploy
env:
MAVEN_USERNAME: ${{ secrets.SPACE_USER_NAME }}
MAVEN_PASSWORD: ${{ secrets.SPACE_REPO_PASSWORD }}