Skip to content

Bump to 0.0.5

Bump to 0.0.5 #13

Workflow file for this run

name: Publish package to the Maven Central Repository
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Publish package
env:
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }}
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mkdir -p target/staging-deploy/dev/mccue/guava/0.0.5 && jar cf target/staging-deploy/dev/mccue/guava/0.0.5/guava-0.0.5-javadoc.jar -C src/javadoc . && ./mvnw -Prelease deploy jreleaser:deploy -Dmaven.javadoc.skip=true -DaltDeploymentRepository=local::default::file:./target/staging-deploy