Skip to content

Bump version to v0.0.9 #46

Bump version to v0.0.9

Bump version to v0.0.9 #46

Workflow file for this run

name: publish
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Publish snapshot package
run: |
VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version|grep -Ev '(^\[|Download\w+:)')
if [[ ${VERSION} == *SNAPSHOT ]]; then
mvn -s ${{ github.workspace }}/.github/workflows/settings.xml --batch-mode deploy
fi
env:
USERNAME: ${{ secrets.USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}