Publish #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |