Skip to content

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

Added a very basic manual workflow that publishes the library

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

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: Env
env:
CLEVERLANCE_MAVEN_NEXUS_USERNAME: ${{ vars.CLEVERLANCE_MAVEN_NEXUS_USERNAME }}
CLEVERLANCE_MAVEN_NEXUS_PASSWORD: ${{ vars.CLEVERLANCE_MAVEN_NEXUS_PASSWORD }}
run: echo "$CLEVERLANCE_MAVEN_NEXUS_USERNAME"
# - name: Publish to Maven
# run: ./gradlew publish