Skip to content

Publish to Glare Repo #16

Publish to Glare Repo

Publish to Glare Repo #16

name: Publish to Glare Repo
on:
workflow_dispatch:
jobs:
deploy_to_glare_repo:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['21']
name: mvn deploy @ glare repo
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
- name: set up eclipse temurin
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
java-package: jdk
cache: 'maven'
- name: maven-settings-action
uses: s4u/[email protected]
with:
githubServer: false
servers: |
[{
"id": "nexus",
"username": "${{ secrets.GLAREREPO_USERNAME }}",
"password": "${{ secrets.GLAREREPO_PASSWORD }}"
}]
- run: mvn deploy