Skip to content

[maven-release-plugin] prepare for next development iteration #69

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #69

name: Publish package to the Nexus Snapshot Repository
on:
push:
branches:
- master
- release/v0.x
jobs:
publish-snapshot:
runs-on: ubuntu-latest
env:
TZ: Asia/Tokyo
steps:
- uses: actions/checkout@v2
- name: 🛠️ Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
cache: 'maven'
- name: Publish Snapshot Package
run: mvn --batch-mode --no-transfer-progress --settings ./settings/.maven.settings.xml -DskipTests=true clean deploy
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}