Skip to content

Added a very basic manual workflow that publishes the library #5

Added a very basic manual workflow that publishes the library

Added a very basic manual workflow that publishes the library #5

Workflow file for this run

name: Publish
on: pull_request # TODO: Replace with `workflow_dispatch` after merge to main.
jobs:
publish:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Publish to Maven
env:
CLEVERLANCE_MAVEN_NEXUS_USERNAME: ${{ vars.CLEVERLANCE_MAVEN_NEXUS_USERNAME }}
CLEVERLANCE_MAVEN_NEXUS_PASSWORD: ${{ vars.CLEVERLANCE_MAVEN_NEXUS_PASSWORD }}
run: ./gradlew publish